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