[ODE] air friction

George Birbilis birbilis at kagi.com
Wed Apr 21 13:20:39 MST 2004


if ODE doesn't support air friction as is (3impact which is written on top
of ODE does, so maybe ODE does too, check the API headers and docs for it),
at every time step set a force that is at the negative direction of the
movement and a torque that is at the negative (angular) direction of the
ball rotation

those forces need to be analogous to the respective speeds I think, with a
low speed limit above which the force starts working and a high speed limit
above which the movement/rotation opposing force doesn't increase anymore

but maybe this is too much simplified

-----
George Birbilis (birbilis at kagi.com)
http://www.kagi.com/birbilis
--------------
----- Original Message ----- 
From: <barbara.yersin at urbanet.ch>
To: <ode at q12.org>
Sent: Wednesday, April 21, 2004 12: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!
>
> Barbara
>
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>



More information about the ODE mailing list