Tao.Ode SDK Documentation

Ode.dGeomClearOffset Method 

Clear any offset from the geom. If the geom has an offset, it is eliminated and the geom is repositioned at the body's position. If the geom has no offset, this function does nothing. This is more efficient than calling dGeomSetOffsetPosition(zero) and dGeomSetOffsetRotation(identiy), because this function actually eliminates the offset, rather than leaving it as the identity transform.

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

Parameters

geom
the geom to have its offset destroyed.

See Also

Ode Class | Tao.Ode Namespace