Jump to content
Search Community

nbde6j3

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by nbde6j3

  1. I'm a little lost on how to create the effect I'm after.  In my Codepen, I have a ball that roles across the browser window until it hits the right side of the window and then bounces using the bounce ease.  However, what I'm really after is to simulate what would happen if you rolled one of those old rubber kickballs you used in elementary school.  If you rolled that into a wall, it would hit the wall, and then bounce back while also gaining some vertical lift and then gravity would pull it back down to the ground.  In the desire effect in the code, ideally it would come to rest in the bottom center of the browser window after hitting the side of the browser window.  Would this require the physics plug-in or something similar?

    See the Pen VwLoGgY by nbde6j3 (@nbde6j3) on CodePen

×
×
  • Create New...