[ODE] dQFromAxisAndAngle

Alexandre Ribeiro de Sá alex_r at vortexentertainment.com
Tue Mar 29 09:09:26 MST 2005


Hi, I have a problem in dQFromAxisAndAngle, I made this code to rotate 
the body, but only rotate the last (z), how can I rotate 3 angles?
dQFromAxisAndAngle (X,1,0,0,x);
dQFromAxisAndAngle (X,0,1,0,y);
dQFromAxisAndAngle (X,0,0,1,z);
dBodySetQuaternion (v_Body[sphereInt].prt_ODE_Body,X);


Thx


More information about the ODE mailing list