current distance along slider axis (d = u · sliderAxis)
whether position limits are enabled
inverse of initial relative orientation, for rotation constraint
maximum position limit (≥ 0)
minimum position limit (≤ 0)
spring settings for soft limits
normal axis perpendicular to slider on body a (for frame definition)
second normal axis (slider × normal1)
attachment point on body a in local space
attachment point on body b in local space
slider axis on body a in local space (normalized) - direction of allowed movement
maximum friction force when motor is off
motor constraint along slider axis
motor settings (spring + force limits)
motor state
world space normal axis 1 for position constraint
world space normal axis 2 for position constraint
position constraint for 2 DOF perpendicular to slider
position limits constraint along slider axis
r1 = rotation1 × localSpacePosition1 (world space offset from COM to attachment)
r2 = rotation2 × localSpacePosition2 (world space offset from COM to attachment)
rotation constraint for 3 DOF (locks all rotation)
target position for position mode
target velocity (m/s) for velocity mode
u = x2 + r2 - x1 - r1 = p2 - p1 (separation vector in world space)
world space slider axis
Slider constraint (prismatic) removes 5 DOF (2 translation perpendicular to slider + 3 rotation). Allows movement only along a single axis, like a piston or rail.