[ODE] Controlling object speed externally
Crestez Dan Leonard
cdleonard at gmail.com
Wed Oct 3 07:31:13 MST 2007
I'm using ODE by completely controlling object position/speed/etc from
my code and only letting ODE control them after the first collision. I
want to use only ODE for collision detection and response, not motion.
Is this acceptable or should I try to use motors or explicit forces
instead? It seems to almost work.
I have a problem: When objects crash they start "wobbling" on the
ground. I disabled all bounciness but objects seems to oscillate a lot
on the ground. For instance a large box will first "pivot" on the edge
and then go back and pivot on the back edge and raise to almost the
same height. They take way too much time to stabilise. I saw this FAQ
I tried to implement "rolling friction" with something like
AddTorque(-0.1 * GetAngularVel()) but it didn't work. Shouldn't the
inertia tensor be involved here somehow? Or perhaps it should be
implemented for each contact point? I have no idea.
Perhaps it actually happens because I control the objects by hand
More information about the ODE