Files
godot-docs/classes/class_conetwistjoint.rst
2017-04-07 22:11:07 +02:00

58 lines
2.0 KiB
ReStructuredText

.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
.. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
.. _class_ConeTwistJoint:
ConeTwistJoint
==============
**Inherits:** :ref:`Joint<class_joint>` **<** :ref:`Spatial<class_spatial>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
**Category:** Core
Brief Description
-----------------
Member Functions
----------------
+----------------------------+-----------------------------------------------------------------------------------------------------------------------------+
| :ref:`float<class_float>` | :ref:`get_param<class_ConeTwistJoint_get_param>` **(** :ref:`int<class_int>` param **)** const |
+----------------------------+-----------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`set_param<class_ConeTwistJoint_set_param>` **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)** |
+----------------------------+-----------------------------------------------------------------------------------------------------------------------------+
Member Variables
----------------
- :ref:`float<class_float>` **bias**
- :ref:`float<class_float>` **relaxation**
- :ref:`float<class_float>` **softness**
- :ref:`float<class_float>` **swing_span**
- :ref:`float<class_float>` **twist_span**
Numeric Constants
-----------------
- **PARAM_SWING_SPAN** = **0**
- **PARAM_TWIST_SPAN** = **1**
- **PARAM_BIAS** = **2**
- **PARAM_SOFTNESS** = **3**
- **PARAM_RELAXATION** = **4**
- **PARAM_MAX** = **5**
Member Function Description
---------------------------
.. _class_ConeTwistJoint_get_param:
- :ref:`float<class_float>` **get_param** **(** :ref:`int<class_int>` param **)** const
.. _class_ConeTwistJoint_set_param:
- void **set_param** **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)**