[ODE] gravity units?

Jon Watte (ODE) hplus-ode at mindcontrol.org
Thu Nov 17 09:57:36 MST 2005



Keith Wiley wrote:
> The docs say that dWorldSetGravity takes m/s/s as parameters, such  
> that -9.81 would be Earth's gravity, but how does this translate to  
> ODE's unit system?  Is 1 unit equal to 1 meter?  If not, how does one  

ODE uses whatever system you want -- and the gravity is in the same 
system. If you feed it feet, stone and swatch beats, then acceleration 
will be expressed in feets per swatch beats squared.

Usually, most people use SI units (meters/seconds/kilograms) but you're 
free to re-define the units as you see fit -- as long as they are 
internally consistent.

Cheers,

			/ h+




More information about the ODE mailing list