Tao.Ode SDK Documentation |
|
Ode.dBodySetAutoDisableAngularThreshold Method
Method dBodySetAutoDisableAngularThreshold Set a body's angular velocity threshold for automatic disabling. The body's linear angular magnitude must be less than this threshold for it to be considered idle. Set the threshold to dInfinity to prevent the angular velocity from being considered.
[Visual Basic]
Public Shared Sub dBodySetAutoDisableAngularThreshold( _
ByVal
body As
IntPtr, _
ByVal
angular_threshold As
Single _
)
[C#]
public static
void dBodySetAutoDisableAngularThreshold(
IntPtr body,
float angular_threshold);
Parameters
-
body
- A dBodyID
-
angular_threshold
- A dReal
See Also
Ode Class | Tao.Ode Namespace