Tao.Ode SDK Documentation

Ode.dGeomSetOffsetWorldRotation Method 

Set the offset rotation of a geom from its body. Sets the geom's rotational offset to orient it to the new world rotation matrix. After this call, the geom will be at the world orientation passed in, and the offset will be the difference from the current body orientation. The geom must be attached to a body. If the geom did not have an offset, it is automatically created.

[Visual Basic]
Public Shared Sub dGeomSetOffsetWorldRotation( _
   ByVal geom As IntPtr, _
   ByVal R As dMatrix3 _
)
[C#]
public static void dGeomSetOffsetWorldRotation(
   IntPtr geom,
   dMatrix3 R
);

Parameters

geom
the geom to set.
R
the new rotation matrix.

See Also

Ode Class | Tao.Ode Namespace