Tao.Ode SDK Documentation

Ode.dJointAddSliderForce Method 

Applies the given force in the slider's direction. That is, it applies a force with magnitude force, in the direction slider's axis, to body1, and with the same magnitude but opposite direction to body2.

[Visual Basic]
Public Shared Sub dJointAddSliderForce( _
   ByVal joint As IntPtr, _
   ByVal force As Single _
)
[C#]
public static void dJointAddSliderForce(
   IntPtr joint,
   float force
);

Parameters

joint
A dJointID
force
A dReal

Remarks

This function is just a wrapper for dBodyAddForce.

See Also

Ode Class | Tao.Ode Namespace