facebookarchive / rebound

A Java library that models spring dynamics and adds real world physics to your app.
http://facebook.github.io/rebound/
Other
5.44k stars 818 forks source link

Can a boundary be added to a spring. #76

Closed amalChandran closed 8 years ago

amalChandran commented 8 years ago

I am trying to achieve something like this.

screen shot 2016-07-08 at 2 47 18 pm

When I add animation, the spring takes the object out of the frame. I want the bounce to happen with the frame. Is it possible to achieve this with rebound?