[ODE] gravity issues
Erin Catto
erincatto at sbcglobal.net
Sat Nov 20 15:55:33 MST 2004
Increasing gravity is equivalent to scaling time. So if you change gravity,
you have to change the time step as well.
For games, you goal should be to take no more than 30-60 steps per simulated
second.
Erin
-----Original Message-----
From: ode-bounces at q12.org [mailto:ode-bounces at q12.org] On Behalf Of Tiago
Rodrigues
Sent: Saturday, November 20, 2004 11:08 AM
To: ode at q12.org
Subject: [ODE] gravity issues
Hi,
I'm doing some testing with various physics sdks.
I'm trying to check whats the behaviour of each one with the same
examples, with real values, meaning real gravity and sizes.
For example i set gravity to -9.81 (m/s/s), and create a box stack each
with 0.2 (m) side and 0.1 density, with 5 boxes.
I can't get a stable stack, the boxes simply start to penetrate each
other and the stack desmantles.
If i lower the gravity to values as the ones found in the examples
(-0.5) everything works fine.
What can i do to make the simulation work properly in the presence of
real gravity?
thanks in avance,
Tiago.
_______________________________________________
ODE mailing list
ODE at q12.org
http://q12.org/mailman/listinfo/ode
More information about the ODE
mailing list