Tao.Ode SDK Documentation

Ode.dGeomSetRotation Method (IntPtr, Single[])

Set the rotation matrix of a placeable geom. This function is analogous to dBodySetRotation. If the geom is attached to a body, the body's rotation will also be changed. Calling this function on a non-placeable geom results in a runtime error in the debug build of ODE.

[Visual Basic]
Overloads Public Shared Sub dGeomSetRotation( _
   ByVal geom As IntPtr, _
   ByVal R As Single() _
)
[C#]
public static void dGeomSetRotation(
   IntPtr geom,
   float[] R
);

Parameters

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

See Also

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