Previous Document Next Document

Relations > Joint constraints > Slider joint constraint

Slider joint constraint


This relation creates a connection between two objects. It limits the constrained object to move within a certain distance along a single axis.

This relation allows you to create a drawer-like constraint where one object can slide along an axis related to another object. For example, the small cylinder of this telescope can translate only from left to right by a maximum of 5 units and follows the larger cylinder when it is moved.


To apply a slider joint constraint:
  1. Multi-select the follower and then the object to which is will be constrained, in that order. You can either turn off Lock to create an offset or correct it later.
  2. Choose View > Display > Constraints.
  3. Choose Relations > Joint Constraints >Slider.
  4. The first object is now constrained to slide along the blue box attached to the second object. By default, it slides 5 units along the X axis.

  5. Change the minimum and maximum position limits with the sliders to allow for greater or smaller range of movement.
  6. Move the object by adjusting the Position parameter in the Parameter Editor.

  7. Translate and rotate the slider joint, then translate the follower again.

Slider Joint Constraint Parameters

Active

Toggles the constraint on and off.

Weight

Determines the weight of this constraint in relation to others constraints acting on the same object.

Position

Determines the position in X, Y, Z (in units) of the origin of the slider constraint box.

Axis

Determines the orientation of the slider constraint. The X axis (1, 0, 0) is the default.

Position parameter

Displays the current position of the sliding object.

Enable position limits

Sets the limits to which the object can slide.

Minimum position
limit

Sets the minimum position in units. Enable position limits must be on for this to take effect. For example, if you use the slider constraint on a desk drawer, the minimum and maximum limits allow you to make sure the drawer cannot slide out of the desk.

Maximum position limit

Sets the maximum position in units.


See also:

Unlocking constraints

Using weight to control multiple constraints

"To view the constraint in the viewports:"

Previous Document Next Document