Tao.Ode SDK Documentation

Ode.dBodySetQuaternion Method 

Set the orientation on of the body. Orientation is represented by a quaternion (qs,qx,qy,qz) After setting a group of bodies, the outcome of the simulation is undefined if the new configuration is inconsistent with the joints/constraints that are present.

[Visual Basic]
Public Shared Sub dBodySetQuaternion( _
   ByVal body As IntPtr, _
   ByRef q As dQuaternion _
)
[C#]
public static void dBodySetQuaternion(
   IntPtr body,
   ref dQuaternion q
);

Parameters

body
A dBodyID
q
A dQuaternion

See Also

Ode Class | Tao.Ode Namespace