SliderJoint3D
A physics joint that restricts the movement of a 3D physics body along an axis relative to another physics body.
A physics joint that restricts the movement of a 3D physics body along an axis relative to another physics body.
A physics joint that restricts the movement of a 3D physics body along an axis relative to another physics body. For example, Body A could be a StaticBody3D representing a piston base, while Body B could be a RigidBody3D representing the piston head, moving up and down.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
SliderJoint3DConstructor
public SliderJoint3D();Methods2
GetParamfloat
public float GetParam(SliderJoint3D.Param param);Returns the value of the given parameter.
| Name | Type | Default |
|---|---|---|
param | SliderJoint3D.Param | — |
floatSetParamvoid
public void SetParam(SliderJoint3D.Param param, float value);Assigns value to the given parameter.
| Name | Type | Default |
|---|---|---|
param | SliderJoint3D.Param | — |
value | float | — |
SliderJoint3D.Param
| Value | Description |
|---|---|
AngularLimitDamping = 15 | Constant for accessing |
AngularLimitLower = 12 | Constant for accessing |
AngularLimitRestitution = 14 | Constant for accessing |
AngularLimitSoftness = 13 | Constant for accessing |
AngularLimitUpper = 11 | Constant for accessing |
AngularMotionDamping = 18 | Constant for accessing |
AngularMotionRestitution = 17 | Constant for accessing |
AngularMotionSoftness = 16 | Constant for accessing |
AngularOrthogonalDamping = 21 | Constant for accessing |
AngularOrthogonalRestitution = 20 | Constant for accessing |
AngularOrthogonalSoftness = 19 | Constant for accessing |
LinearLimitDamping = 4 | Constant for accessing |
LinearLimitLower = 1 | Constant for accessing |
LinearLimitRestitution = 3 | Constant for accessing |
LinearLimitSoftness = 2 | Constant for accessing |
LinearLimitUpper = 0 | Constant for accessing |
LinearMotionDamping = 7 | Constant for accessing |
LinearMotionRestitution = 6 | Constant for accessing |
LinearMotionSoftness = 5 | Constant for accessing |
LinearOrthogonalDamping = 10 | Constant for accessing |
LinearOrthogonalRestitution = 9 | Constant for accessing |
LinearOrthogonalSoftness = 8 | Constant for accessing |
Max = 22 | Represents the size of the |