Tao.Ode SDK Documentation

Ode.dBodySetRotation Method (IntPtr, Single[])

Set the rotation of the body. 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]
Overloads Public Shared Sub dBodySetRotation( _
   ByVal body As IntPtr, _
   ByVal R As Single() _
)
[C#]
public static void dBodySetRotation(
   IntPtr body,
   float[] R
);

Parameters

body
the body to set
R
An array of 12 elements containing the new 3x4 rotation matrix

See Also

Ode Class | Tao.Ode Namespace | Ode.dBodySetRotation Overload List