Tao.Ode SDK Documentation

Ode.dGeomSetOffsetQuaternion Method 

Set the local offset rotation of a geom from its body. Sets the geom's rotational offset in local coordinates. After this call, the geom will be at a new position determined from the body's position and the offset. 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 dGeomSetOffsetQuaternion( _
   ByVal geom As IntPtr, _
   ByVal Q As dQuaternion _
)
[C#]
public static void dGeomSetOffsetQuaternion(
   IntPtr geom,
   dQuaternion Q
);

Parameters

geom
the geom to set.
Q
the new rotation.

See Also

Ode Class | Tao.Ode Namespace