Piston kind of slider between two bodies in 3D.
    public class SliderJoint : Joint

Slides across the x-axis of the pivot object.

Inheritance Chain

Constructors

    public SliderJoint()

Properties

    public float AngularLimit__damping { get; set; }

The amount of damping of the rotation when the limit is surpassed.

A lower damping value allows a rotation initiated by body A to travel to body B slower.

    public float AngularLimit__lowerAngle { get; set; }

The lower limit of rotation in the slider.

    public float AngularLimit__restitution { get; set; }

The amount of restitution of the rotation when the limit is surpassed.

Does not affect damping.

    public float AngularLimit__softness { get; set; }

A factor applied to the all rotation once the limit is surpassed.

Makes all rotation slower when between 0 and 1.

    public float AngularLimit__upperAngle { get; set; }

The upper limit of rotation in the slider.

    public float AngularMotion__damping { get; set; }

The amount of damping of the rotation in the limits.

    public float AngularMotion__restitution { get; set; }

The amount of restitution of the rotation in the limits.

    public float AngularMotion__softness { get; set; }

A factor applied to the all rotation in the limits.

    public float AngularOrtho__damping { get; set; }

The amount of damping of the rotation across axes orthogonal to the slider.

    public float AngularOrtho__restitution { get; set; }

The amount of restitution of the rotation across axes orthogonal to the slider.

    public float AngularOrtho__softness { get; set; }

A factor applied to the all rotation across axes orthogonal to the slider.

    public float LinearLimit__damping { get; set; }

The amount of damping that happens once the limit defined by LinearLimit__lowerDistance and LinearLimit__upperDistance is surpassed.

    public float LinearLimit__lowerDistance { get; set; }

The minimum difference between the pivot points on their x-axis before damping happens.

    public float LinearLimit__restitution { get; set; }

The amount of restitution once the limits are surpassed. The lower, the more velocity-energy gets lost.

    public float LinearLimit__softness { get; set; }

A factor applied to the movement across the slider axis once the limits get surpassed. The lower, the slower the movement.

    public float LinearLimit__upperDistance { get; set; }

The maximum difference between the pivot points on their x-axis before damping happens.

    public float LinearMotion__damping { get; set; }

The amount of damping inside the slider limits.

    public float LinearMotion__restitution { get; set; }

The amount of restitution inside the slider limits.

    public float LinearMotion__softness { get; set; }

A factor applied to the movement across the slider axis as long as the slider is in the limits. The lower, the slower the movement.

    public float LinearOrtho__damping { get; set; }

The amount of damping when movement is across axes orthogonal to the slider.

    public float LinearOrtho__restitution { get; set; }

The amount of restitution when movement is across axes orthogonal to the slider.

    public float LinearOrtho__softness { get; set; }

A factor applied to the movement across axes orthogonal to the slider.

Methods

    public float GetParam(Param param)

    public void SetParam(Param param, float value)

Inner Types

Param

Name Value Description
LinearLimitUpper 0 The maximum difference between the pivot points on their x-axis before damping happens.
LinearLimitLower 1 The minimum difference between the pivot points on their x-axis before damping happens.
LinearLimitSoftness 2 A factor applied to the movement across the slider axis once the limits get surpassed. The lower, the slower the movement.
LinearLimitRestitution 3 The amount of restitution once the limits are surpassed. The lower, the more velocityenergy gets lost.
LinearLimitDamping 4 The amount of damping once the slider limits are surpassed.
LinearMotionSoftness 5 A factor applied to the movement across the slider axis as long as the slider is in the limits. The lower, the slower the movement.
LinearMotionRestitution 6 The amount of restitution inside the slider limits.
LinearMotionDamping 7 The amount of damping inside the slider limits.
LinearOrthogonalSoftness 8 A factor applied to the movement across axes orthogonal to the slider.
LinearOrthogonalRestitution 9 The amount of restitution when movement is across axes orthogonal to the slider.
LinearOrthogonalDamping 10 The amount of damping when movement is across axes orthogonal to the slider.
AngularLimitUpper 11 The upper limit of rotation in the slider.
AngularLimitLower 12 The lower limit of rotation in the slider.
AngularLimitSoftness 13 A factor applied to the all rotation once the limit is surpassed.
AngularLimitRestitution 14 The amount of restitution of the rotation when the limit is surpassed.
AngularLimitDamping 15 The amount of damping of the rotation when the limit is surpassed.
AngularMotionSoftness 16 A factor applied to the all rotation in the limits.
AngularMotionRestitution 17 The amount of restitution of the rotation in the limits.
AngularMotionDamping 18 The amount of damping of the rotation in the limits.
AngularOrthogonalSoftness 19 A factor applied to the all rotation across axes orthogonal to the slider.
AngularOrthogonalRestitution 20 The amount of restitution of the rotation across axes orthogonal to the slider.
AngularOrthogonalDamping 21 The amount of damping of the rotation across axes orthogonal to the slider.
Max 22 End flag of PARAM_* constants, used internally.
Tags: