POV-Ray : Newsgroups : povray.binaries.animations : Gravity Comparison : Re: Gravity Comparison Server Time
20 Apr 2024 08:38:58 EDT (-0400)
  Re: Gravity Comparison  
From: Stephen
Date: 11 May 2017 14:21:56
Message: <5914abc4$1@news.povray.org>
On 5/11/2017 6:14 PM, Bald Eagle wrote:
> "Kenneth" <kdw### [at] gmailcom> 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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.