mirror of
https://github.com/godotengine/godot-docs-l10n.git
synced 2026-01-05 14:10:19 +03:00
709 lines
32 KiB
ReStructuredText
709 lines
32 KiB
ReStructuredText
:github_url: hide
|
||
|
||
.. _class_SliderJoint3D:
|
||
|
||
SliderJoint3D
|
||
=============
|
||
|
||
**Hérite de :** :ref:`Joint3D<class_Joint3D>` **<** :ref:`Node3D<class_Node3D>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
|
||
|
||
Une liaison physique qui restreint le mouvement d'un corps physique 3D le long d'un axe relatif à un autre corps physique.
|
||
|
||
.. rst-class:: classref-introduction-group
|
||
|
||
Description
|
||
-----------
|
||
|
||
Une liaison physique qui restreint le mouvement d'un corps physique 3D le long d'un axe relatif à un autre corps physique. Pour exemple, un corps A peut être un :ref:`StaticBody3D<class_StaticBody3D>` représentant une base de piston, pendant qu'un corps B peut être un :ref:`RigidBody3D<class_RigidBody3D>` représentant la tête du piston, se déplaçant de haut en bas.
|
||
|
||
.. rst-class:: classref-reftable-group
|
||
|
||
Propriétés
|
||
--------------------
|
||
|
||
.. 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
|
||
|
||
Méthodes
|
||
----------------
|
||
|
||
.. table::
|
||
:widths: auto
|
||
|
||
+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| :ref:`float<class_float>` | :ref:`get_param<class_SliderJoint3D_method_get_param>`\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`\ ) |const| |
|
||
+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`set_param<class_SliderJoint3D_method_set_param>`\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`, value\: :ref:`float<class_float>`\ ) |
|
||
+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+
|
||
|
||
.. rst-class:: classref-section-separator
|
||
|
||
----
|
||
|
||
.. rst-class:: classref-descriptions-group
|
||
|
||
Énumérations
|
||
------------------------
|
||
|
||
.. _enum_SliderJoint3D_Param:
|
||
|
||
.. rst-class:: classref-enumeration
|
||
|
||
enum **Param**: :ref:`🔗<enum_SliderJoint3D_Param>`
|
||
|
||
.. _class_SliderJoint3D_constant_PARAM_LINEAR_LIMIT_UPPER:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`Param<enum_SliderJoint3D_Param>` **PARAM_LINEAR_LIMIT_UPPER** = ``0``
|
||
|
||
Constante pour accéder à :ref:`linear_limit/upper_distance<class_SliderJoint3D_property_linear_limit/upper_distance>`. La différence maximale entre les points du pivot sur leur axe X avant que l'amortissement se produit.
|
||
|
||
.. _class_SliderJoint3D_constant_PARAM_LINEAR_LIMIT_LOWER:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`Param<enum_SliderJoint3D_Param>` **PARAM_LINEAR_LIMIT_LOWER** = ``1``
|
||
|
||
Constante pour accéder à :ref:`linear_limit/lower_distance<class_SliderJoint3D_property_linear_limit/lower_distance>`. La différence minimale entre les points du pivot sur leur axe X avant que l'amortissement se produit.
|
||
|
||
.. _class_SliderJoint3D_constant_PARAM_LINEAR_LIMIT_SOFTNESS:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`Param<enum_SliderJoint3D_Param>` **PARAM_LINEAR_LIMIT_SOFTNESS** = ``2``
|
||
|
||
Constante pour accéder à :ref:`linear_limit/softness<class_SliderJoint3D_property_linear_limit/softness>`. Un facteur appliqué au moment le long de l'axe de glissement une fois que les limites sont dépassées. Plus basse est la valeur, plus lent est le mouvement.
|
||
|
||
.. _class_SliderJoint3D_constant_PARAM_LINEAR_LIMIT_RESTITUTION:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`Param<enum_SliderJoint3D_Param>` **PARAM_LINEAR_LIMIT_RESTITUTION** = ``3``
|
||
|
||
Constante pour accéder à :ref:`linear_limit/restitution<class_SliderJoint3D_property_linear_limit/restitution>`. Le montant de la restitution une fois les limites dépassées. Plus elle est basse, plus l'énergie cinétique se perd.
|
||
|
||
.. _class_SliderJoint3D_constant_PARAM_LINEAR_LIMIT_DAMPING:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`Param<enum_SliderJoint3D_Param>` **PARAM_LINEAR_LIMIT_DAMPING** = ``4``
|
||
|
||
Constante pour accéder à :ref:`linear_limit/damping<class_SliderJoint3D_property_linear_limit/damping>`. Le montant d'amortissement une fois les limites dépassées.
|
||
|
||
.. _class_SliderJoint3D_constant_PARAM_LINEAR_MOTION_SOFTNESS:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`Param<enum_SliderJoint3D_Param>` **PARAM_LINEAR_MOTION_SOFTNESS** = ``5``
|
||
|
||
Constante pour accéder à :ref:`linear_motion/softness<class_SliderJoint3D_property_linear_motion/softness>`. Un facteur appliqué au mouvement sur l'axe de glissement tant que le glissement est dans les limites. Plus il est bas, plus le mouvement est lent.
|
||
|
||
.. _class_SliderJoint3D_constant_PARAM_LINEAR_MOTION_RESTITUTION:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`Param<enum_SliderJoint3D_Param>` **PARAM_LINEAR_MOTION_RESTITUTION** = ``6``
|
||
|
||
Constante pour accéder à :ref:`linear_motion/restitution<class_SliderJoint3D_property_linear_motion/restitution>`. Le montant de la restitution dans les limites du glissement.
|
||
|
||
.. _class_SliderJoint3D_constant_PARAM_LINEAR_MOTION_DAMPING:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`Param<enum_SliderJoint3D_Param>` **PARAM_LINEAR_MOTION_DAMPING** = ``7``
|
||
|
||
Constante pour accéder à :ref:`linear_motion/damping<class_SliderJoint3D_property_linear_motion/damping>`. Le montant d'amortissement dans les limites du glissement.
|
||
|
||
.. _class_SliderJoint3D_constant_PARAM_LINEAR_ORTHOGONAL_SOFTNESS:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`Param<enum_SliderJoint3D_Param>` **PARAM_LINEAR_ORTHOGONAL_SOFTNESS** = ``8``
|
||
|
||
Constante pour accéder à :ref:`linear_ortho/softness<class_SliderJoint3D_property_linear_ortho/softness>`. Un facteur appliqué au mouvement sur les axes orthogonaux au glissement.
|
||
|
||
.. _class_SliderJoint3D_constant_PARAM_LINEAR_ORTHOGONAL_RESTITUTION:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`Param<enum_SliderJoint3D_Param>` **PARAM_LINEAR_ORTHOGONAL_RESTITUTION** = ``9``
|
||
|
||
Constante pour accéder à :ref:`linear_ortho/restitution<class_SliderJoint3D_property_linear_ortho/restitution>`. Le montant de restitution quand le mouvement est sur les axes orthogonaux au glissement.
|
||
|
||
.. _class_SliderJoint3D_constant_PARAM_LINEAR_ORTHOGONAL_DAMPING:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`Param<enum_SliderJoint3D_Param>` **PARAM_LINEAR_ORTHOGONAL_DAMPING** = ``10``
|
||
|
||
Constante pour accéder à :ref:`linear_ortho/damping<class_SliderJoint3D_property_linear_ortho/damping>`. Le montant d'amortissement quand le mouvement est sur les axes orthogonaux au glissement.
|
||
|
||
.. _class_SliderJoint3D_constant_PARAM_ANGULAR_LIMIT_UPPER:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`Param<enum_SliderJoint3D_Param>` **PARAM_ANGULAR_LIMIT_UPPER** = ``11``
|
||
|
||
Constante pour accéder à :ref:`angular_limit/upper_angle<class_SliderJoint3D_property_angular_limit/upper_angle>`. La limite supérieure de rotation de la liaison.
|
||
|
||
.. _class_SliderJoint3D_constant_PARAM_ANGULAR_LIMIT_LOWER:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`Param<enum_SliderJoint3D_Param>` **PARAM_ANGULAR_LIMIT_LOWER** = ``12``
|
||
|
||
Constante pour accéder à :ref:`angular_limit/lower_angle<class_SliderJoint3D_property_angular_limit/lower_angle>`. La limite inférieure de rotation de la liaison.
|
||
|
||
.. _class_SliderJoint3D_constant_PARAM_ANGULAR_LIMIT_SOFTNESS:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`Param<enum_SliderJoint3D_Param>` **PARAM_ANGULAR_LIMIT_SOFTNESS** = ``13``
|
||
|
||
Constante pour accéder à :ref:`angular_limit/softness<class_SliderJoint3D_property_angular_limit/softness>`. Un facteur appliqué à toutes les rotations quand la limite est dépassée.
|
||
|
||
.. _class_SliderJoint3D_constant_PARAM_ANGULAR_LIMIT_RESTITUTION:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`Param<enum_SliderJoint3D_Param>` **PARAM_ANGULAR_LIMIT_RESTITUTION** = ``14``
|
||
|
||
Constante pour accéder à :ref:`angular_limit/restitution<class_SliderJoint3D_property_angular_limit/restitution>`. Le montant de la restitution de la rotation quand la limite est dépassée.
|
||
|
||
.. _class_SliderJoint3D_constant_PARAM_ANGULAR_LIMIT_DAMPING:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`Param<enum_SliderJoint3D_Param>` **PARAM_ANGULAR_LIMIT_DAMPING** = ``15``
|
||
|
||
Constante pour accéder à :ref:`angular_limit/damping<class_SliderJoint3D_property_angular_limit/damping>`. Le montant d'amortissement de la rotation quand la limite est dépassée.
|
||
|
||
.. _class_SliderJoint3D_constant_PARAM_ANGULAR_MOTION_SOFTNESS:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`Param<enum_SliderJoint3D_Param>` **PARAM_ANGULAR_MOTION_SOFTNESS** = ``16``
|
||
|
||
Constante pour accéder à :ref:`angular_limit/softness<class_SliderJoint3D_property_angular_limit/softness>`. Un facteur appliqué sur toutes les rotations dans les limites.
|
||
|
||
.. _class_SliderJoint3D_constant_PARAM_ANGULAR_MOTION_RESTITUTION:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`Param<enum_SliderJoint3D_Param>` **PARAM_ANGULAR_MOTION_RESTITUTION** = ``17``
|
||
|
||
Constante pour accéder à :ref:`angular_motion/restitution<class_SliderJoint3D_property_angular_motion/restitution>`. Le montant de restitution de la rotation dans les limites.
|
||
|
||
.. _class_SliderJoint3D_constant_PARAM_ANGULAR_MOTION_DAMPING:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`Param<enum_SliderJoint3D_Param>` **PARAM_ANGULAR_MOTION_DAMPING** = ``18``
|
||
|
||
Constante pour accéder à :ref:`angular_motion/damping<class_SliderJoint3D_property_angular_motion/damping>`. Le montant d'amortissement de la rotation dans les limites.
|
||
|
||
.. _class_SliderJoint3D_constant_PARAM_ANGULAR_ORTHOGONAL_SOFTNESS:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`Param<enum_SliderJoint3D_Param>` **PARAM_ANGULAR_ORTHOGONAL_SOFTNESS** = ``19``
|
||
|
||
Constante pour accéder à :ref:`angular_ortho/softness<class_SliderJoint3D_property_angular_ortho/softness>`. Un facteur appliqué sur toutes les rotations sur les axes orthogonaux au glissement.
|
||
|
||
.. _class_SliderJoint3D_constant_PARAM_ANGULAR_ORTHOGONAL_RESTITUTION:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`Param<enum_SliderJoint3D_Param>` **PARAM_ANGULAR_ORTHOGONAL_RESTITUTION** = ``20``
|
||
|
||
Constante pour accéder à :ref:`angular_ortho/restitution<class_SliderJoint3D_property_angular_ortho/restitution>`. Le montant de restitution sur les axes orthogonaux au glissement.
|
||
|
||
.. _class_SliderJoint3D_constant_PARAM_ANGULAR_ORTHOGONAL_DAMPING:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`Param<enum_SliderJoint3D_Param>` **PARAM_ANGULAR_ORTHOGONAL_DAMPING** = ``21``
|
||
|
||
Constante pour accéder à :ref:`angular_ortho/damping<class_SliderJoint3D_property_angular_ortho/damping>`. Le montant d'amortissement de la rotation sur les axes orthogonaux au glissement.
|
||
|
||
.. _class_SliderJoint3D_constant_PARAM_MAX:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`Param<enum_SliderJoint3D_Param>` **PARAM_MAX** = ``22``
|
||
|
||
Représente la taille de l'énumération :ref:`Param<enum_SliderJoint3D_Param>`.
|
||
|
||
.. rst-class:: classref-section-separator
|
||
|
||
----
|
||
|
||
.. rst-class:: classref-descriptions-group
|
||
|
||
Descriptions des propriétés
|
||
------------------------------------------------------
|
||
|
||
.. _class_SliderJoint3D_property_angular_limit/damping:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`float<class_float>` **angular_limit/damping** = ``0.0`` :ref:`🔗<class_SliderJoint3D_property_angular_limit/damping>`
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- |void| **set_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`, value\: :ref:`float<class_float>`\ )
|
||
- :ref:`float<class_float>` **get_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`\ ) |const|
|
||
|
||
La quantité d'amortissement de la rotation lorsque la limite est dépassée.
|
||
|
||
Une valeur d'amortissement inférieure permet à une rotation initiée par le corps A de se propager plus lentement au corps B.
|
||
|
||
.. 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`` :ref:`🔗<class_SliderJoint3D_property_angular_limit/lower_angle>`
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- |void| **set_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`, value\: :ref:`float<class_float>`\ )
|
||
- :ref:`float<class_float>` **get_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`\ ) |const|
|
||
|
||
La limite basse de rotation du glissement.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SliderJoint3D_property_angular_limit/restitution:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`float<class_float>` **angular_limit/restitution** = ``0.7`` :ref:`🔗<class_SliderJoint3D_property_angular_limit/restitution>`
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- |void| **set_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`, value\: :ref:`float<class_float>`\ )
|
||
- :ref:`float<class_float>` **get_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`\ ) |const|
|
||
|
||
La quantité de restitution de la rotation quand la limite est dépassée.
|
||
|
||
N'affecte par l'amortissement.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SliderJoint3D_property_angular_limit/softness:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`float<class_float>` **angular_limit/softness** = ``1.0`` :ref:`🔗<class_SliderJoint3D_property_angular_limit/softness>`
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- |void| **set_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`, value\: :ref:`float<class_float>`\ )
|
||
- :ref:`float<class_float>` **get_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`\ ) |const|
|
||
|
||
Un facteur appliqué à toute rotation une fois la limite dépassée.
|
||
|
||
Rend toute rotation plus lente quand entre 0 et 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`` :ref:`🔗<class_SliderJoint3D_property_angular_limit/upper_angle>`
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- |void| **set_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`, value\: :ref:`float<class_float>`\ )
|
||
- :ref:`float<class_float>` **get_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`\ ) |const|
|
||
|
||
La limite haute de rotation du glissement.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SliderJoint3D_property_angular_motion/damping:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`float<class_float>` **angular_motion/damping** = ``1.0`` :ref:`🔗<class_SliderJoint3D_property_angular_motion/damping>`
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- |void| **set_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`, value\: :ref:`float<class_float>`\ )
|
||
- :ref:`float<class_float>` **get_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`\ ) |const|
|
||
|
||
La quantité d'amortissement de la rotation dans les limites.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SliderJoint3D_property_angular_motion/restitution:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`float<class_float>` **angular_motion/restitution** = ``0.7`` :ref:`🔗<class_SliderJoint3D_property_angular_motion/restitution>`
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- |void| **set_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`, value\: :ref:`float<class_float>`\ )
|
||
- :ref:`float<class_float>` **get_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`\ ) |const|
|
||
|
||
La quantité de restitution de la rotation dans les limites.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SliderJoint3D_property_angular_motion/softness:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`float<class_float>` **angular_motion/softness** = ``1.0`` :ref:`🔗<class_SliderJoint3D_property_angular_motion/softness>`
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- |void| **set_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`, value\: :ref:`float<class_float>`\ )
|
||
- :ref:`float<class_float>` **get_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`\ ) |const|
|
||
|
||
Un facteur appliqué à toute rotation dans les limites.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SliderJoint3D_property_angular_ortho/damping:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`float<class_float>` **angular_ortho/damping** = ``1.0`` :ref:`🔗<class_SliderJoint3D_property_angular_ortho/damping>`
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- |void| **set_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`, value\: :ref:`float<class_float>`\ )
|
||
- :ref:`float<class_float>` **get_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`\ ) |const|
|
||
|
||
La quantité d'amortissement de la rotation est sur les axes orthogonaux au glissement.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SliderJoint3D_property_angular_ortho/restitution:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`float<class_float>` **angular_ortho/restitution** = ``0.7`` :ref:`🔗<class_SliderJoint3D_property_angular_ortho/restitution>`
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- |void| **set_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`, value\: :ref:`float<class_float>`\ )
|
||
- :ref:`float<class_float>` **get_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`\ ) |const|
|
||
|
||
La quantité de restitution de la rotation sur les axes orthogonaux au glissement.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SliderJoint3D_property_angular_ortho/softness:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`float<class_float>` **angular_ortho/softness** = ``1.0`` :ref:`🔗<class_SliderJoint3D_property_angular_ortho/softness>`
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- |void| **set_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`, value\: :ref:`float<class_float>`\ )
|
||
- :ref:`float<class_float>` **get_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`\ ) |const|
|
||
|
||
Un facteur appliqué aux rotations sur les axes orthogonaux au glissement.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SliderJoint3D_property_linear_limit/damping:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`float<class_float>` **linear_limit/damping** = ``1.0`` :ref:`🔗<class_SliderJoint3D_property_linear_limit/damping>`
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- |void| **set_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`, value\: :ref:`float<class_float>`\ )
|
||
- :ref:`float<class_float>` **get_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`\ ) |const|
|
||
|
||
La quantité d'amortissement qui se produit une fois la limite définie par :ref:`linear_limit/lower_distance<class_SliderJoint3D_property_linear_limit/lower_distance>` et :ref:`linear_limit/upper_distance<class_SliderJoint3D_property_linear_limit/upper_distance>` est dépassée.
|
||
|
||
.. 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`` :ref:`🔗<class_SliderJoint3D_property_linear_limit/lower_distance>`
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- |void| **set_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`, value\: :ref:`float<class_float>`\ )
|
||
- :ref:`float<class_float>` **get_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`\ ) |const|
|
||
|
||
La différence minimale entre les points du pivot sur leur axe X avant que l'amortissement se produit.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SliderJoint3D_property_linear_limit/restitution:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`float<class_float>` **linear_limit/restitution** = ``0.7`` :ref:`🔗<class_SliderJoint3D_property_linear_limit/restitution>`
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- |void| **set_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`, value\: :ref:`float<class_float>`\ )
|
||
- :ref:`float<class_float>` **get_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`\ ) |const|
|
||
|
||
Le montant de la restitution une fois les limites dépassées. Plus il est bas, plus l'énergie cinétique se perd.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SliderJoint3D_property_linear_limit/softness:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`float<class_float>` **linear_limit/softness** = ``1.0`` :ref:`🔗<class_SliderJoint3D_property_linear_limit/softness>`
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- |void| **set_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`, value\: :ref:`float<class_float>`\ )
|
||
- :ref:`float<class_float>` **get_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`\ ) |const|
|
||
|
||
Un facteur appliqué au mouvement sur l'axe de glissement une fois les limites dépassées. Plus il est bas, plus le mouvement est lent.
|
||
|
||
.. 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`` :ref:`🔗<class_SliderJoint3D_property_linear_limit/upper_distance>`
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- |void| **set_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`, value\: :ref:`float<class_float>`\ )
|
||
- :ref:`float<class_float>` **get_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`\ ) |const|
|
||
|
||
La différence maximale entre les points du pivot sur leur axe X avant que l'amortissement se produit.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SliderJoint3D_property_linear_motion/damping:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`float<class_float>` **linear_motion/damping** = ``0.0`` :ref:`🔗<class_SliderJoint3D_property_linear_motion/damping>`
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- |void| **set_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`, value\: :ref:`float<class_float>`\ )
|
||
- :ref:`float<class_float>` **get_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`\ ) |const|
|
||
|
||
La quantité d'amortissement dans les limites du glissement.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SliderJoint3D_property_linear_motion/restitution:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`float<class_float>` **linear_motion/restitution** = ``0.7`` :ref:`🔗<class_SliderJoint3D_property_linear_motion/restitution>`
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- |void| **set_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`, value\: :ref:`float<class_float>`\ )
|
||
- :ref:`float<class_float>` **get_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`\ ) |const|
|
||
|
||
La quantité de restitution dans les limites du glissement.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SliderJoint3D_property_linear_motion/softness:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`float<class_float>` **linear_motion/softness** = ``1.0`` :ref:`🔗<class_SliderJoint3D_property_linear_motion/softness>`
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- |void| **set_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`, value\: :ref:`float<class_float>`\ )
|
||
- :ref:`float<class_float>` **get_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`\ ) |const|
|
||
|
||
Un facteur appliqué au mouvement sur l'axe du glissement tant que la liaison est dans les limites. Plus il est bas, plus le mouvement est lent.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SliderJoint3D_property_linear_ortho/damping:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`float<class_float>` **linear_ortho/damping** = ``1.0`` :ref:`🔗<class_SliderJoint3D_property_linear_ortho/damping>`
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- |void| **set_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`, value\: :ref:`float<class_float>`\ )
|
||
- :ref:`float<class_float>` **get_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`\ ) |const|
|
||
|
||
La quantité d'amortissement lorsque le mouvement est sur les axes orthogonaux au glissement.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SliderJoint3D_property_linear_ortho/restitution:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`float<class_float>` **linear_ortho/restitution** = ``0.7`` :ref:`🔗<class_SliderJoint3D_property_linear_ortho/restitution>`
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- |void| **set_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`, value\: :ref:`float<class_float>`\ )
|
||
- :ref:`float<class_float>` **get_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`\ ) |const|
|
||
|
||
La quantité de restitution lorsque le mouvement est sur les axes orthogonaux au glissement.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SliderJoint3D_property_linear_ortho/softness:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`float<class_float>` **linear_ortho/softness** = ``1.0`` :ref:`🔗<class_SliderJoint3D_property_linear_ortho/softness>`
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- |void| **set_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`, value\: :ref:`float<class_float>`\ )
|
||
- :ref:`float<class_float>` **get_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`\ ) |const|
|
||
|
||
Un facteur appliqué au mouvement sur les axes orthogonaux au glissement.
|
||
|
||
.. rst-class:: classref-section-separator
|
||
|
||
----
|
||
|
||
.. rst-class:: classref-descriptions-group
|
||
|
||
Descriptions des méthodes
|
||
--------------------------------------------------
|
||
|
||
.. _class_SliderJoint3D_method_get_param:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
:ref:`float<class_float>` **get_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`\ ) |const| :ref:`🔗<class_SliderJoint3D_method_get_param>`
|
||
|
||
Renvoie la valeur du paramètre donné.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_SliderJoint3D_method_set_param:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **set_param**\ (\ param\: :ref:`Param<enum_SliderJoint3D_Param>`, value\: :ref:`float<class_float>`\ ) :ref:`🔗<class_SliderJoint3D_method_set_param>`
|
||
|
||
Assigne la valeur ``value`` au paramètre donné.
|
||
|
||
.. |virtual| replace:: :abbr:`virtual (Cette méthode doit typiquement être redéfinie par l'utilisateur pour avoir un effet.)`
|
||
.. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)`
|
||
.. |const| replace:: :abbr:`const (Cette méthode n'a pas d'effets de bord. Elle ne modifie aucune des variables membres de l'instance.)`
|
||
.. |vararg| replace:: :abbr:`vararg (Cette méthode accepte n'importe quel nombre d'arguments après ceux décris ici.)`
|
||
.. |constructor| replace:: :abbr:`constructor (Cette méthode est utilisée pour construire un type.)`
|
||
.. |static| replace:: :abbr:`static (Cette méthode n'a pas besoin d'instance pour être appelée, elle peut donc être directement appelée en utilisant le nom de la classe.)`
|
||
.. |operator| replace:: :abbr:`operator (Cette méthode décrit un opérateur valide à utiliser avec ce type en tant qu'opérande gauche.)`
|
||
.. |bitfield| replace:: :abbr:`BitField (Cette valeur est un nombre entier composé d'un masque de bits des options suivantes.)`
|
||
.. |void| replace:: :abbr:`void (Aucune valeur de retour.)`
|