[ODE] not quite dead yet

Nate W coding at natew.com
Thu Jan 30 22:38:01 2003


On Thu, 30 Jan 2003, Michael Powers wrote:

> i was able to remove the jitter that was causing
> problems in my box stack - so all that remains is my
> continually spinning boxes on the ground - someone
> suggested that i store the quaternion values (that i
> am converting to euler angles for my rotate routine)
> and check if they are the same from one worldstep to
> the next and stop spinning my blocks - this seems odd
> to me

Basically I just wanted to find out if the problem is in your ODE code or
in your rendering code.  If ODE's quaternions are not changing, the
problem has nothing to do with ODE.  If they ARE changing, then we can
talk more about how you're using ODE.

> what is the best way for me to get the change in rotation between
> world steps (is it the GetRotation call? which gives me a 3x4 matrix?)

I'd just make a scene with just one block, and print its quaternion
every frame.  You'll get a ream of data in the first couple seconds, but
it will be obvious whether the quaternion is changing or not.


-- 

Nate Waddoups
Redmond WA USA
http://www.natew.com