123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715 |
- :github_url: hide
- .. DO NOT EDIT THIS FILE!!!
- .. Generated automatically from Godot engine sources.
- .. Generator: https://github.com/godotengine/godot/tree/4.0/doc/tools/make_rst.py.
- .. XML source: https://github.com/godotengine/godot/tree/4.0/doc/classes/SliderJoint3D.xml.
- .. _class_SliderJoint3D:
- SliderJoint3D
- =============
- **Inherits:** :ref:`Joint3D<class_Joint3D>` **<** :ref:`Node3D<class_Node3D>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
- Slider between two PhysicsBodies in 3D.
- .. rst-class:: classref-introduction-group
- Description
- -----------
- Slides across the X axis of the pivot object. See also :ref:`Generic6DOFJoint3D<class_Generic6DOFJoint3D>`.
- .. rst-class:: classref-reftable-group
- Properties
- ----------
- .. table::
- :widths: auto
- +---------------------------+----------------------------------------------------------------------------------------------+----------+
- | :ref:`float<class_float>` | :ref:`angular_limit/damping<class_SliderJoint3D_property_angular_limit/damping>` | ``0.0`` |
- +---------------------------+----------------------------------------------------------------------------------------------+----------+
- | :ref:`float<class_float>` | :ref:`angular_limit/lower_angle<class_SliderJoint3D_property_angular_limit/lower_angle>` | ``0.0`` |
- +---------------------------+----------------------------------------------------------------------------------------------+----------+
- | :ref:`float<class_float>` | :ref:`angular_limit/restitution<class_SliderJoint3D_property_angular_limit/restitution>` | ``0.7`` |
- +---------------------------+----------------------------------------------------------------------------------------------+----------+
- | :ref:`float<class_float>` | :ref:`angular_limit/softness<class_SliderJoint3D_property_angular_limit/softness>` | ``1.0`` |
- +---------------------------+----------------------------------------------------------------------------------------------+----------+
- | :ref:`float<class_float>` | :ref:`angular_limit/upper_angle<class_SliderJoint3D_property_angular_limit/upper_angle>` | ``0.0`` |
- +---------------------------+----------------------------------------------------------------------------------------------+----------+
- | :ref:`float<class_float>` | :ref:`angular_motion/damping<class_SliderJoint3D_property_angular_motion/damping>` | ``1.0`` |
- +---------------------------+----------------------------------------------------------------------------------------------+----------+
- | :ref:`float<class_float>` | :ref:`angular_motion/restitution<class_SliderJoint3D_property_angular_motion/restitution>` | ``0.7`` |
- +---------------------------+----------------------------------------------------------------------------------------------+----------+
- | :ref:`float<class_float>` | :ref:`angular_motion/softness<class_SliderJoint3D_property_angular_motion/softness>` | ``1.0`` |
- +---------------------------+----------------------------------------------------------------------------------------------+----------+
- | :ref:`float<class_float>` | :ref:`angular_ortho/damping<class_SliderJoint3D_property_angular_ortho/damping>` | ``1.0`` |
- +---------------------------+----------------------------------------------------------------------------------------------+----------+
- | :ref:`float<class_float>` | :ref:`angular_ortho/restitution<class_SliderJoint3D_property_angular_ortho/restitution>` | ``0.7`` |
- +---------------------------+----------------------------------------------------------------------------------------------+----------+
- | :ref:`float<class_float>` | :ref:`angular_ortho/softness<class_SliderJoint3D_property_angular_ortho/softness>` | ``1.0`` |
- +---------------------------+----------------------------------------------------------------------------------------------+----------+
- | :ref:`float<class_float>` | :ref:`linear_limit/damping<class_SliderJoint3D_property_linear_limit/damping>` | ``1.0`` |
- +---------------------------+----------------------------------------------------------------------------------------------+----------+
- | :ref:`float<class_float>` | :ref:`linear_limit/lower_distance<class_SliderJoint3D_property_linear_limit/lower_distance>` | ``-1.0`` |
- +---------------------------+----------------------------------------------------------------------------------------------+----------+
- | :ref:`float<class_float>` | :ref:`linear_limit/restitution<class_SliderJoint3D_property_linear_limit/restitution>` | ``0.7`` |
- +---------------------------+----------------------------------------------------------------------------------------------+----------+
- | :ref:`float<class_float>` | :ref:`linear_limit/softness<class_SliderJoint3D_property_linear_limit/softness>` | ``1.0`` |
- +---------------------------+----------------------------------------------------------------------------------------------+----------+
- | :ref:`float<class_float>` | :ref:`linear_limit/upper_distance<class_SliderJoint3D_property_linear_limit/upper_distance>` | ``1.0`` |
- +---------------------------+----------------------------------------------------------------------------------------------+----------+
- | :ref:`float<class_float>` | :ref:`linear_motion/damping<class_SliderJoint3D_property_linear_motion/damping>` | ``0.0`` |
- +---------------------------+----------------------------------------------------------------------------------------------+----------+
- | :ref:`float<class_float>` | :ref:`linear_motion/restitution<class_SliderJoint3D_property_linear_motion/restitution>` | ``0.7`` |
- +---------------------------+----------------------------------------------------------------------------------------------+----------+
- | :ref:`float<class_float>` | :ref:`linear_motion/softness<class_SliderJoint3D_property_linear_motion/softness>` | ``1.0`` |
- +---------------------------+----------------------------------------------------------------------------------------------+----------+
- | :ref:`float<class_float>` | :ref:`linear_ortho/damping<class_SliderJoint3D_property_linear_ortho/damping>` | ``1.0`` |
- +---------------------------+----------------------------------------------------------------------------------------------+----------+
- | :ref:`float<class_float>` | :ref:`linear_ortho/restitution<class_SliderJoint3D_property_linear_ortho/restitution>` | ``0.7`` |
- +---------------------------+----------------------------------------------------------------------------------------------+----------+
- | :ref:`float<class_float>` | :ref:`linear_ortho/softness<class_SliderJoint3D_property_linear_ortho/softness>` | ``1.0`` |
- +---------------------------+----------------------------------------------------------------------------------------------+----------+
- .. rst-class:: classref-reftable-group
- Methods
- -------
- .. table::
- :widths: auto
- +---------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`float<class_float>` | :ref:`get_param<class_SliderJoint3D_method_get_param>` **(** :ref:`Param<enum_SliderJoint3D_Param>` param **)** |const| |
- +---------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_param<class_SliderJoint3D_method_set_param>` **(** :ref:`Param<enum_SliderJoint3D_Param>` param, :ref:`float<class_float>` value **)** |
- +---------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------+
- .. rst-class:: classref-section-separator
- ----
- .. rst-class:: classref-descriptions-group
- Enumerations
- ------------
- .. _enum_SliderJoint3D_Param:
- .. rst-class:: classref-enumeration
- enum **Param**:
- .. _class_SliderJoint3D_constant_PARAM_LINEAR_LIMIT_UPPER:
- .. rst-class:: classref-enumeration-constant
- :ref:`Param<enum_SliderJoint3D_Param>` **PARAM_LINEAR_LIMIT_UPPER** = ``0``
- The maximum difference between the pivot points on their X axis before damping happens.
- .. _class_SliderJoint3D_constant_PARAM_LINEAR_LIMIT_LOWER:
- .. rst-class:: classref-enumeration-constant
- :ref:`Param<enum_SliderJoint3D_Param>` **PARAM_LINEAR_LIMIT_LOWER** = ``1``
- The minimum difference between the pivot points on their X axis before damping happens.
- .. _class_SliderJoint3D_constant_PARAM_LINEAR_LIMIT_SOFTNESS:
- .. rst-class:: classref-enumeration-constant
- :ref:`Param<enum_SliderJoint3D_Param>` **PARAM_LINEAR_LIMIT_SOFTNESS** = ``2``
- A factor applied to the movement across the slider axis once the limits get surpassed. The lower, the slower the movement.
- .. _class_SliderJoint3D_constant_PARAM_LINEAR_LIMIT_RESTITUTION:
- .. rst-class:: classref-enumeration-constant
- :ref:`Param<enum_SliderJoint3D_Param>` **PARAM_LINEAR_LIMIT_RESTITUTION** = ``3``
- The amount of restitution once the limits are surpassed. The lower, the more velocityenergy gets lost.
- .. _class_SliderJoint3D_constant_PARAM_LINEAR_LIMIT_DAMPING:
- .. rst-class:: classref-enumeration-constant
- :ref:`Param<enum_SliderJoint3D_Param>` **PARAM_LINEAR_LIMIT_DAMPING** = ``4``
- The amount of damping once the slider limits are surpassed.
- .. _class_SliderJoint3D_constant_PARAM_LINEAR_MOTION_SOFTNESS:
- .. rst-class:: classref-enumeration-constant
- :ref:`Param<enum_SliderJoint3D_Param>` **PARAM_LINEAR_MOTION_SOFTNESS** = ``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.
- .. _class_SliderJoint3D_constant_PARAM_LINEAR_MOTION_RESTITUTION:
- .. rst-class:: classref-enumeration-constant
- :ref:`Param<enum_SliderJoint3D_Param>` **PARAM_LINEAR_MOTION_RESTITUTION** = ``6``
- The amount of restitution inside the slider limits.
- .. _class_SliderJoint3D_constant_PARAM_LINEAR_MOTION_DAMPING:
- .. rst-class:: classref-enumeration-constant
- :ref:`Param<enum_SliderJoint3D_Param>` **PARAM_LINEAR_MOTION_DAMPING** = ``7``
- The amount of damping inside the slider limits.
- .. _class_SliderJoint3D_constant_PARAM_LINEAR_ORTHOGONAL_SOFTNESS:
- .. rst-class:: classref-enumeration-constant
- :ref:`Param<enum_SliderJoint3D_Param>` **PARAM_LINEAR_ORTHOGONAL_SOFTNESS** = ``8``
- A factor applied to the movement across axes orthogonal to the slider.
- .. _class_SliderJoint3D_constant_PARAM_LINEAR_ORTHOGONAL_RESTITUTION:
- .. rst-class:: classref-enumeration-constant
- :ref:`Param<enum_SliderJoint3D_Param>` **PARAM_LINEAR_ORTHOGONAL_RESTITUTION** = ``9``
- The amount of restitution when movement is across axes orthogonal to the slider.
- .. _class_SliderJoint3D_constant_PARAM_LINEAR_ORTHOGONAL_DAMPING:
- .. rst-class:: classref-enumeration-constant
- :ref:`Param<enum_SliderJoint3D_Param>` **PARAM_LINEAR_ORTHOGONAL_DAMPING** = ``10``
- The amount of damping when movement is across axes orthogonal to the slider.
- .. _class_SliderJoint3D_constant_PARAM_ANGULAR_LIMIT_UPPER:
- .. rst-class:: classref-enumeration-constant
- :ref:`Param<enum_SliderJoint3D_Param>` **PARAM_ANGULAR_LIMIT_UPPER** = ``11``
- The upper limit of rotation in the slider.
- .. _class_SliderJoint3D_constant_PARAM_ANGULAR_LIMIT_LOWER:
- .. rst-class:: classref-enumeration-constant
- :ref:`Param<enum_SliderJoint3D_Param>` **PARAM_ANGULAR_LIMIT_LOWER** = ``12``
- The lower limit of rotation in the slider.
- .. _class_SliderJoint3D_constant_PARAM_ANGULAR_LIMIT_SOFTNESS:
- .. rst-class:: classref-enumeration-constant
- :ref:`Param<enum_SliderJoint3D_Param>` **PARAM_ANGULAR_LIMIT_SOFTNESS** = ``13``
- A factor applied to the all rotation once the limit is surpassed.
- .. _class_SliderJoint3D_constant_PARAM_ANGULAR_LIMIT_RESTITUTION:
- .. rst-class:: classref-enumeration-constant
- :ref:`Param<enum_SliderJoint3D_Param>` **PARAM_ANGULAR_LIMIT_RESTITUTION** = ``14``
- The amount of restitution of the rotation when the limit is surpassed.
- .. _class_SliderJoint3D_constant_PARAM_ANGULAR_LIMIT_DAMPING:
- .. rst-class:: classref-enumeration-constant
- :ref:`Param<enum_SliderJoint3D_Param>` **PARAM_ANGULAR_LIMIT_DAMPING** = ``15``
- The amount of damping of the rotation when the limit is surpassed.
- .. _class_SliderJoint3D_constant_PARAM_ANGULAR_MOTION_SOFTNESS:
- .. rst-class:: classref-enumeration-constant
- :ref:`Param<enum_SliderJoint3D_Param>` **PARAM_ANGULAR_MOTION_SOFTNESS** = ``16``
- A factor applied to the all rotation in the limits.
- .. _class_SliderJoint3D_constant_PARAM_ANGULAR_MOTION_RESTITUTION:
- .. rst-class:: classref-enumeration-constant
- :ref:`Param<enum_SliderJoint3D_Param>` **PARAM_ANGULAR_MOTION_RESTITUTION** = ``17``
- The amount of restitution of the rotation in the limits.
- .. _class_SliderJoint3D_constant_PARAM_ANGULAR_MOTION_DAMPING:
- .. rst-class:: classref-enumeration-constant
- :ref:`Param<enum_SliderJoint3D_Param>` **PARAM_ANGULAR_MOTION_DAMPING** = ``18``
- The amount of damping of the rotation in the limits.
- .. _class_SliderJoint3D_constant_PARAM_ANGULAR_ORTHOGONAL_SOFTNESS:
- .. rst-class:: classref-enumeration-constant
- :ref:`Param<enum_SliderJoint3D_Param>` **PARAM_ANGULAR_ORTHOGONAL_SOFTNESS** = ``19``
- A factor applied to the all rotation across axes orthogonal to the slider.
- .. _class_SliderJoint3D_constant_PARAM_ANGULAR_ORTHOGONAL_RESTITUTION:
- .. rst-class:: classref-enumeration-constant
- :ref:`Param<enum_SliderJoint3D_Param>` **PARAM_ANGULAR_ORTHOGONAL_RESTITUTION** = ``20``
- The amount of restitution of the rotation across axes orthogonal to the slider.
- .. _class_SliderJoint3D_constant_PARAM_ANGULAR_ORTHOGONAL_DAMPING:
- .. rst-class:: classref-enumeration-constant
- :ref:`Param<enum_SliderJoint3D_Param>` **PARAM_ANGULAR_ORTHOGONAL_DAMPING** = ``21``
- The amount of damping of the rotation across axes orthogonal to the slider.
- .. _class_SliderJoint3D_constant_PARAM_MAX:
- .. rst-class:: classref-enumeration-constant
- :ref:`Param<enum_SliderJoint3D_Param>` **PARAM_MAX** = ``22``
- Represents the size of the :ref:`Param<enum_SliderJoint3D_Param>` enum.
- .. rst-class:: classref-section-separator
- ----
- .. rst-class:: classref-descriptions-group
- Property Descriptions
- ---------------------
- .. _class_SliderJoint3D_property_angular_limit/damping:
- .. rst-class:: classref-property
- :ref:`float<class_float>` **angular_limit/damping** = ``0.0``
- .. rst-class:: classref-property-setget
- - void **set_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param, :ref:`float<class_float>` value **)**
- - :ref:`float<class_float>` **get_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param **)** |const|
- 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.
- .. rst-class:: classref-item-separator
- ----
- .. _class_SliderJoint3D_property_angular_limit/lower_angle:
- .. rst-class:: classref-property
- :ref:`float<class_float>` **angular_limit/lower_angle** = ``0.0``
- .. rst-class:: classref-property-setget
- - void **set_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param, :ref:`float<class_float>` value **)**
- - :ref:`float<class_float>` **get_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param **)** |const|
- The lower limit of rotation in the slider.
- .. rst-class:: classref-item-separator
- ----
- .. _class_SliderJoint3D_property_angular_limit/restitution:
- .. rst-class:: classref-property
- :ref:`float<class_float>` **angular_limit/restitution** = ``0.7``
- .. rst-class:: classref-property-setget
- - void **set_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param, :ref:`float<class_float>` value **)**
- - :ref:`float<class_float>` **get_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param **)** |const|
- The amount of restitution of the rotation when the limit is surpassed.
- Does not affect damping.
- .. rst-class:: classref-item-separator
- ----
- .. _class_SliderJoint3D_property_angular_limit/softness:
- .. rst-class:: classref-property
- :ref:`float<class_float>` **angular_limit/softness** = ``1.0``
- .. rst-class:: classref-property-setget
- - void **set_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param, :ref:`float<class_float>` value **)**
- - :ref:`float<class_float>` **get_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param **)** |const|
- A factor applied to the all rotation once the limit is surpassed.
- Makes all rotation slower when between 0 and 1.
- .. rst-class:: classref-item-separator
- ----
- .. _class_SliderJoint3D_property_angular_limit/upper_angle:
- .. rst-class:: classref-property
- :ref:`float<class_float>` **angular_limit/upper_angle** = ``0.0``
- .. rst-class:: classref-property-setget
- - void **set_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param, :ref:`float<class_float>` value **)**
- - :ref:`float<class_float>` **get_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param **)** |const|
- The upper limit of rotation in the slider.
- .. rst-class:: classref-item-separator
- ----
- .. _class_SliderJoint3D_property_angular_motion/damping:
- .. rst-class:: classref-property
- :ref:`float<class_float>` **angular_motion/damping** = ``1.0``
- .. rst-class:: classref-property-setget
- - void **set_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param, :ref:`float<class_float>` value **)**
- - :ref:`float<class_float>` **get_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param **)** |const|
- The amount of damping of the rotation in the limits.
- .. rst-class:: classref-item-separator
- ----
- .. _class_SliderJoint3D_property_angular_motion/restitution:
- .. rst-class:: classref-property
- :ref:`float<class_float>` **angular_motion/restitution** = ``0.7``
- .. rst-class:: classref-property-setget
- - void **set_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param, :ref:`float<class_float>` value **)**
- - :ref:`float<class_float>` **get_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param **)** |const|
- The amount of restitution of the rotation in the limits.
- .. rst-class:: classref-item-separator
- ----
- .. _class_SliderJoint3D_property_angular_motion/softness:
- .. rst-class:: classref-property
- :ref:`float<class_float>` **angular_motion/softness** = ``1.0``
- .. rst-class:: classref-property-setget
- - void **set_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param, :ref:`float<class_float>` value **)**
- - :ref:`float<class_float>` **get_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param **)** |const|
- A factor applied to the all rotation in the limits.
- .. rst-class:: classref-item-separator
- ----
- .. _class_SliderJoint3D_property_angular_ortho/damping:
- .. rst-class:: classref-property
- :ref:`float<class_float>` **angular_ortho/damping** = ``1.0``
- .. rst-class:: classref-property-setget
- - void **set_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param, :ref:`float<class_float>` value **)**
- - :ref:`float<class_float>` **get_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param **)** |const|
- The amount of damping of the rotation across axes orthogonal to the slider.
- .. rst-class:: classref-item-separator
- ----
- .. _class_SliderJoint3D_property_angular_ortho/restitution:
- .. rst-class:: classref-property
- :ref:`float<class_float>` **angular_ortho/restitution** = ``0.7``
- .. rst-class:: classref-property-setget
- - void **set_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param, :ref:`float<class_float>` value **)**
- - :ref:`float<class_float>` **get_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param **)** |const|
- The amount of restitution of the rotation across axes orthogonal to the slider.
- .. rst-class:: classref-item-separator
- ----
- .. _class_SliderJoint3D_property_angular_ortho/softness:
- .. rst-class:: classref-property
- :ref:`float<class_float>` **angular_ortho/softness** = ``1.0``
- .. rst-class:: classref-property-setget
- - void **set_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param, :ref:`float<class_float>` value **)**
- - :ref:`float<class_float>` **get_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param **)** |const|
- A factor applied to the all rotation across axes orthogonal to the slider.
- .. rst-class:: classref-item-separator
- ----
- .. _class_SliderJoint3D_property_linear_limit/damping:
- .. rst-class:: classref-property
- :ref:`float<class_float>` **linear_limit/damping** = ``1.0``
- .. rst-class:: classref-property-setget
- - void **set_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param, :ref:`float<class_float>` value **)**
- - :ref:`float<class_float>` **get_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param **)** |const|
- The amount of damping that happens once the limit defined by :ref:`linear_limit/lower_distance<class_SliderJoint3D_property_linear_limit/lower_distance>` and :ref:`linear_limit/upper_distance<class_SliderJoint3D_property_linear_limit/upper_distance>` is surpassed.
- .. rst-class:: classref-item-separator
- ----
- .. _class_SliderJoint3D_property_linear_limit/lower_distance:
- .. rst-class:: classref-property
- :ref:`float<class_float>` **linear_limit/lower_distance** = ``-1.0``
- .. rst-class:: classref-property-setget
- - void **set_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param, :ref:`float<class_float>` value **)**
- - :ref:`float<class_float>` **get_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param **)** |const|
- The minimum difference between the pivot points on their X axis before damping happens.
- .. rst-class:: classref-item-separator
- ----
- .. _class_SliderJoint3D_property_linear_limit/restitution:
- .. rst-class:: classref-property
- :ref:`float<class_float>` **linear_limit/restitution** = ``0.7``
- .. rst-class:: classref-property-setget
- - void **set_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param, :ref:`float<class_float>` value **)**
- - :ref:`float<class_float>` **get_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param **)** |const|
- The amount of restitution once the limits are surpassed. The lower, the more velocity-energy gets lost.
- .. rst-class:: classref-item-separator
- ----
- .. _class_SliderJoint3D_property_linear_limit/softness:
- .. rst-class:: classref-property
- :ref:`float<class_float>` **linear_limit/softness** = ``1.0``
- .. rst-class:: classref-property-setget
- - void **set_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param, :ref:`float<class_float>` value **)**
- - :ref:`float<class_float>` **get_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param **)** |const|
- A factor applied to the movement across the slider axis once the limits get surpassed. The lower, the slower the movement.
- .. rst-class:: classref-item-separator
- ----
- .. _class_SliderJoint3D_property_linear_limit/upper_distance:
- .. rst-class:: classref-property
- :ref:`float<class_float>` **linear_limit/upper_distance** = ``1.0``
- .. rst-class:: classref-property-setget
- - void **set_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param, :ref:`float<class_float>` value **)**
- - :ref:`float<class_float>` **get_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param **)** |const|
- The maximum difference between the pivot points on their X axis before damping happens.
- .. rst-class:: classref-item-separator
- ----
- .. _class_SliderJoint3D_property_linear_motion/damping:
- .. rst-class:: classref-property
- :ref:`float<class_float>` **linear_motion/damping** = ``0.0``
- .. rst-class:: classref-property-setget
- - void **set_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param, :ref:`float<class_float>` value **)**
- - :ref:`float<class_float>` **get_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param **)** |const|
- The amount of damping inside the slider limits.
- .. rst-class:: classref-item-separator
- ----
- .. _class_SliderJoint3D_property_linear_motion/restitution:
- .. rst-class:: classref-property
- :ref:`float<class_float>` **linear_motion/restitution** = ``0.7``
- .. rst-class:: classref-property-setget
- - void **set_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param, :ref:`float<class_float>` value **)**
- - :ref:`float<class_float>` **get_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param **)** |const|
- The amount of restitution inside the slider limits.
- .. rst-class:: classref-item-separator
- ----
- .. _class_SliderJoint3D_property_linear_motion/softness:
- .. rst-class:: classref-property
- :ref:`float<class_float>` **linear_motion/softness** = ``1.0``
- .. rst-class:: classref-property-setget
- - void **set_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param, :ref:`float<class_float>` value **)**
- - :ref:`float<class_float>` **get_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param **)** |const|
- 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.
- .. rst-class:: classref-item-separator
- ----
- .. _class_SliderJoint3D_property_linear_ortho/damping:
- .. rst-class:: classref-property
- :ref:`float<class_float>` **linear_ortho/damping** = ``1.0``
- .. rst-class:: classref-property-setget
- - void **set_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param, :ref:`float<class_float>` value **)**
- - :ref:`float<class_float>` **get_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param **)** |const|
- The amount of damping when movement is across axes orthogonal to the slider.
- .. rst-class:: classref-item-separator
- ----
- .. _class_SliderJoint3D_property_linear_ortho/restitution:
- .. rst-class:: classref-property
- :ref:`float<class_float>` **linear_ortho/restitution** = ``0.7``
- .. rst-class:: classref-property-setget
- - void **set_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param, :ref:`float<class_float>` value **)**
- - :ref:`float<class_float>` **get_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param **)** |const|
- The amount of restitution when movement is across axes orthogonal to the slider.
- .. rst-class:: classref-item-separator
- ----
- .. _class_SliderJoint3D_property_linear_ortho/softness:
- .. rst-class:: classref-property
- :ref:`float<class_float>` **linear_ortho/softness** = ``1.0``
- .. rst-class:: classref-property-setget
- - void **set_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param, :ref:`float<class_float>` value **)**
- - :ref:`float<class_float>` **get_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param **)** |const|
- A factor applied to the movement across axes orthogonal to the slider.
- .. rst-class:: classref-section-separator
- ----
- .. rst-class:: classref-descriptions-group
- Method Descriptions
- -------------------
- .. _class_SliderJoint3D_method_get_param:
- .. rst-class:: classref-method
- :ref:`float<class_float>` **get_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param **)** |const|
- .. container:: contribute
- There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
- .. rst-class:: classref-item-separator
- ----
- .. _class_SliderJoint3D_method_set_param:
- .. rst-class:: classref-method
- void **set_param** **(** :ref:`Param<enum_SliderJoint3D_Param>` param, :ref:`float<class_float>` value **)**
- .. container:: contribute
- There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
- .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
- .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
- .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
- .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
- .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
- .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
|