Class ODESlider

java.lang.Object
All Implemented Interfaces:
ODELinkAttachListener, ODELinkDetachListener, PoseChangeListener, EventListener

public class ODESlider extends ODEJoint

Wrapper for a slider joint in ODE4J. If one side of the hinge is null then it is attached to the world.

If the physics simulation is paused then then moving this Pose will adjust the position and orientation of the hinge, as well as it's relation to the attached parts. If the simulation is NOT paused then the hinge will behave as normal.

If partA and partB are connected then sliderjoint will allow relative linear motion along the specified axis.

If only one of the two parts is connected then the slider joint will allow the connected part to move freely along the specified axis while the other end remains fixed.