[ODE] testbuggy in opengl performer
hplus-ode at mindcontrol.org
Mon Jan 17 08:38:41 MST 2005
How did you convert the quaternions between ODE and Performer? Beware that ODE stores the "w" component FIRST in the quaternion.
From: ode-bounces at q12.org [mailto:ode-bounces at q12.org]On Behalf Of rhk-- at nate.com
Sent: Monday, January 17, 2005 1:16 AM
To: ode at q12.org
Subject: [ODE] testbuggy in opengl performer
My simulation is between a car and a box, standing.
A car runs to a box with speed,
after colliding, the box will bounce or something.
I use testbuggy (change a little) in opengl performer.
I printed the positoin and rotation of the box, body_g.
P = dBodyGetPosition( body_g );
In ODE, it works well,
but when I use the same function in my OpenGL Performer program,
it jumps and crazily rotate.
Instead of drawstuff simLoop function,
I use do... while Loop.
Please help me!!
새로운 형태의 이포스트카드 서비스
예쁜 우편 엽서로 마음을 전달
싸이월드 페이퍼까지 찾아준다!
새로워진 네이트닷컴 써보셨나요?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ODE