Tao.Ode SDK Documentation

Ode.dJointGetSliderPosition Method 

Get the slider linear position (i.e. the slider's ``extension'') When the axis is set, the current position of the attached bodies is examined and that position will be the zero position.

[Visual Basic]
Public Shared Function dJointGetSliderPosition( _
   ByVal joint As IntPtr _
) As Single
[C#]
public static float dJointGetSliderPosition(
   IntPtr joint
);

Parameters

joint
A dJointID

Return Value

A dReal

See Also

Ode Class | Tao.Ode Namespace