123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- .. 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_Generic6DOFJoint:
- Generic6DOFJoint
- ================
- **Inherits:** :ref:`Joint<class_joint>` **<** :ref:`Spatial<class_spatial>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
- **Category:** Core
- Brief Description
- -----------------
- Member Functions
- ----------------
- +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`get_flag_x<class_Generic6DOFJoint_get_flag_x>` **(** :ref:`int<class_int>` flag **)** const |
- +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`get_flag_y<class_Generic6DOFJoint_get_flag_y>` **(** :ref:`int<class_int>` flag **)** const |
- +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`get_flag_z<class_Generic6DOFJoint_get_flag_z>` **(** :ref:`int<class_int>` flag **)** const |
- +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`float<class_float>` | :ref:`get_param_x<class_Generic6DOFJoint_get_param_x>` **(** :ref:`int<class_int>` param **)** const |
- +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`float<class_float>` | :ref:`get_param_y<class_Generic6DOFJoint_get_param_y>` **(** :ref:`int<class_int>` param **)** const |
- +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`float<class_float>` | :ref:`get_param_z<class_Generic6DOFJoint_get_param_z>` **(** :ref:`int<class_int>` param **)** const |
- +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_flag_x<class_Generic6DOFJoint_set_flag_x>` **(** :ref:`int<class_int>` flag, :ref:`bool<class_bool>` value **)** |
- +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_flag_y<class_Generic6DOFJoint_set_flag_y>` **(** :ref:`int<class_int>` flag, :ref:`bool<class_bool>` value **)** |
- +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_flag_z<class_Generic6DOFJoint_set_flag_z>` **(** :ref:`int<class_int>` flag, :ref:`bool<class_bool>` value **)** |
- +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_param_x<class_Generic6DOFJoint_set_param_x>` **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)** |
- +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_param_y<class_Generic6DOFJoint_set_param_y>` **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)** |
- +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_param_z<class_Generic6DOFJoint_set_param_z>` **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)** |
- +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
- Numeric Constants
- -----------------
- - **PARAM_LINEAR_LOWER_LIMIT** = **0**
- - **PARAM_LINEAR_UPPER_LIMIT** = **1**
- - **PARAM_LINEAR_LIMIT_SOFTNESS** = **2**
- - **PARAM_LINEAR_RESTITUTION** = **3**
- - **PARAM_LINEAR_DAMPING** = **4**
- - **PARAM_ANGULAR_LOWER_LIMIT** = **5**
- - **PARAM_ANGULAR_UPPER_LIMIT** = **6**
- - **PARAM_ANGULAR_LIMIT_SOFTNESS** = **7**
- - **PARAM_ANGULAR_DAMPING** = **8**
- - **PARAM_ANGULAR_RESTITUTION** = **9**
- - **PARAM_ANGULAR_FORCE_LIMIT** = **10**
- - **PARAM_ANGULAR_ERP** = **11**
- - **PARAM_ANGULAR_MOTOR_TARGET_VELOCITY** = **12**
- - **PARAM_ANGULAR_MOTOR_FORCE_LIMIT** = **13**
- - **PARAM_MAX** = **14**
- - **FLAG_ENABLE_LINEAR_LIMIT** = **0**
- - **FLAG_ENABLE_ANGULAR_LIMIT** = **1**
- - **FLAG_ENABLE_MOTOR** = **2**
- - **FLAG_MAX** = **3**
- Member Function Description
- ---------------------------
- .. _class_Generic6DOFJoint_get_flag_x:
- - :ref:`bool<class_bool>` **get_flag_x** **(** :ref:`int<class_int>` flag **)** const
- .. _class_Generic6DOFJoint_get_flag_y:
- - :ref:`bool<class_bool>` **get_flag_y** **(** :ref:`int<class_int>` flag **)** const
- .. _class_Generic6DOFJoint_get_flag_z:
- - :ref:`bool<class_bool>` **get_flag_z** **(** :ref:`int<class_int>` flag **)** const
- .. _class_Generic6DOFJoint_get_param_x:
- - :ref:`float<class_float>` **get_param_x** **(** :ref:`int<class_int>` param **)** const
- .. _class_Generic6DOFJoint_get_param_y:
- - :ref:`float<class_float>` **get_param_y** **(** :ref:`int<class_int>` param **)** const
- .. _class_Generic6DOFJoint_get_param_z:
- - :ref:`float<class_float>` **get_param_z** **(** :ref:`int<class_int>` param **)** const
- .. _class_Generic6DOFJoint_set_flag_x:
- - void **set_flag_x** **(** :ref:`int<class_int>` flag, :ref:`bool<class_bool>` value **)**
- .. _class_Generic6DOFJoint_set_flag_y:
- - void **set_flag_y** **(** :ref:`int<class_int>` flag, :ref:`bool<class_bool>` value **)**
- .. _class_Generic6DOFJoint_set_flag_z:
- - void **set_flag_z** **(** :ref:`int<class_int>` flag, :ref:`bool<class_bool>` value **)**
- .. _class_Generic6DOFJoint_set_param_x:
- - void **set_param_x** **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)**
- .. _class_Generic6DOFJoint_set_param_y:
- - void **set_param_y** **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)**
- .. _class_Generic6DOFJoint_set_param_z:
- - void **set_param_z** **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)**
|