Tao.Ode SDK Documentation

Ode.dBodySetFiniteRotationMode Method 

This function controls the way a body's orientation is updated at each time step. The mode argument can be: - 0: An ``infinitesimal'' orientation update is used. This is fast to compute, but it can occasionally cause inaccuracies for bodies that are rotating at high speed, especially when those bodies are joined to other bodies. This is the default for every new body that is created. - 1: A ``finite'' orientation update is used. This is more costly to compute, but will be more accurate for high speed rotations. Note however that high speed rotations can result in many types of error in a simulation, and this mode will only fix one of those sources of error.

[Visual Basic]
Public Shared Sub dBodySetFiniteRotationMode( _
   ByVal body As IntPtr, _
   ByVal mode As Integer _
)
[C#]
public static void dBodySetFiniteRotationMode(
   IntPtr body,
   int mode
);

Parameters

body
A dBodyID
mode
An int

See Also

Ode Class | Tao.Ode Namespace