API ReferenceSandbox
SliderJointclass
Restrict an object to one axis, relative to another object. Like a drawer opening.
Constructors1
Showing 1 constructors
public SliderJoint()
No results match this filter.
Properties10
Showing 10 properties
public float Sandbox.SliderJoint.DampingRatio { get; set; }
Position spring damping ratio.
Returns:
float—public float Sandbox.SliderJoint.Frequency { get; set; }
Position spring frequency in hertz.
Returns:
float—public float Sandbox.SliderJoint.Friction { get; set; }
Slider friction
Returns:
float—public System.Nullable`1<bool> Sandbox.SliderJoint.LimitEnabled { get; set; }
Explicit limit state. Null retains automatic limits from the length range.
Returns:
Nullable<bool>—public float Sandbox.SliderJoint.MaxForce { get; set; }
Maximum force the velocity motor may apply.
Returns:
float—public float Sandbox.SliderJoint.MaxLength { get; set; }
Maximum length it should be allowed to go
Returns:
float—public float Sandbox.SliderJoint.MinLength { get; set; }
Minimum length it should be allowed to go
Returns:
float—public Sandbox.SliderJoint.MotorMode Sandbox.SliderJoint.Motor { get; set; }
Chooses friction, a position spring, or a velocity motor.
public float Sandbox.SliderJoint.TargetPosition { get; set; }
Target offset along the slider axis.
Returns:
float—public float Sandbox.SliderJoint.TargetVelocity { get; set; }
Target speed along the slider axis, in units per second.
Returns:
float—No results match this filter.