Tao.Ode SDK Documentation

Ode.dGeomSetRotation Method (IntPtr, dMatrix3)

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 dMatrix3 _
)
[C#]
public static void dGeomSetRotation(
   IntPtr geom,
   dMatrix3 R
);

Parameters

geom
the geom to set
R
dMatrix3 containing the new rotation matrix

See Also

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