Tao.Ode SDK Documentation

Ode.dBodyGetQuaternion Method 

Get the orientation of a body. Orientation is represented by a quaternion (qs,qx,qy,qz)

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

Parameters

body
A dBodyID

Return Value

A dQuaternion

See Also

Ode Class | Tao.Ode Namespace