[ODE] air friction
George Birbilis
birbilis at kagi.com
Wed Apr 21 14:03:47 MST 2004
could also use some curve by which you decide how much to decrease the
rotational speed (and or translational/linear speed) in time (that is since
you say you don't have any forces applied on the ball, just give it a boost
and let it go)
else if the ball while interact with things, better "add" forces too to
simulate air friction, so that the sum of all forces is applied at the end
by ODE (instead of decreasing the speed manually)
-----
George Birbilis (birbilis at kagi.com)
http://www.kagi.com/birbilis
--------------
----- Original Message -----
From: "Sergey Kurdakov" <kourdakov at mail.ru>
To: <barbara.yersin at urbanet.ch>; <ode at q12.org>
Sent: Wednesday, April 21, 2004 1:38 PM
Subject: Re: [ODE] air friction
> Hello Barbara,
>
> > I now have a ball on which I apply a force once (only once => no
acceleration, constant speed)
> > Then the ball starts rolling, but it never stops. How can I create the
air friction effect? How can I stop the ball ?
>
> the most streight way seems to just add 'damping' term -
>
> add a negative moment to the ball which is proportional to it's speed of
rotation
>
> so apply ( add to other moments if the exist) M = -koef * omega; where
omega is a rotational velocity ( could be vector - so moment
> will be vector as well)
>
> Regards
> Sergey Kurdakov
>
> ----- Original Message -----
> From: <barbara.yersin at urbanet.ch>
> To: <ode at q12.org>
> Sent: Wednesday, April 21, 2004 1:58 PM
> Subject: [ODE] air friction
>
>
> > Hi guys!
> > I now have a ball on which I apply a force once (only once => no
acceleration, constant speed)
> > Then the ball starts rolling, but it never stops. How can I create the
air friction effect? How can I stop the ball ?
> >
> > Thanks!
More information about the ODE
mailing list