|
 |
On 5/11/2017 6:14 PM, Bald Eagle wrote:
> "Kenneth" <kdw### [at] gmail com> wrote:
>
> had the same idea when I was working on a bouncing ball animation, but you
> really only need one equation to plug the clock into.
>
> http://feucht.us/writings/bouncing_ball.php
>
> I never got it to work out quite the way I wanted, but all of the up and down
> motion is in one equation.
>
>
>
I find that S = u*t + 0.5*a*t^2 works well enough for me. :)
As for the bounce, just reverse the velocity when the ball is less than
its radius from the floor. Then reduce it by a damping factor.
--
Regards
Stephen
Post a reply to this message
|
 |