Tao.Ode SDK Documentation

Ode.dBodyGetRotation Method 

Get the rotation of the body. The returned value is a 4x3 rotation matrix. The matrix is valid until any changes are made to the rigid body system structure.

[Visual Basic]
Public Shared Function dBodyGetRotation( _
   ByVal body As IntPtr _
) As dMatrix3
[C#]
public static dMatrix3 dBodyGetRotation(
   IntPtr body
);

Parameters

body
A dBodyID

Return Value

A dMatrix3

See Also

Ode Class | Tao.Ode Namespace