.. 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_HingeJoint: HingeJoint ========== **Inherits:** :ref:`Joint` **<** :ref:`Spatial` **<** :ref:`Node` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Member Functions ---------------- +----------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`get_flag` **(** :ref:`int` flag **)** const | +----------------------------+-------------------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`get_param` **(** :ref:`int` param **)** const | +----------------------------+-------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_flag` **(** :ref:`int` flag, :ref:`bool` enabled **)** | +----------------------------+-------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_param` **(** :ref:`int` param, :ref:`float` value **)** | +----------------------------+-------------------------------------------------------------------------------------------------------------------------+ Member Variables ---------------- - :ref:`float` **angular_limit/bias** - :ref:`bool` **angular_limit/enable** - :ref:`float` **angular_limit/lower** - :ref:`float` **angular_limit/relaxation** - :ref:`float` **angular_limit/softness** - :ref:`float` **angular_limit/upper** - :ref:`bool` **motor/enable** - :ref:`float` **motor/max_impulse** - :ref:`float` **motor/target_velocity** - :ref:`float` **params/bias** Numeric Constants ----------------- - **PARAM_BIAS** = **0** - **PARAM_LIMIT_UPPER** = **1** - **PARAM_LIMIT_LOWER** = **2** - **PARAM_LIMIT_BIAS** = **3** - **PARAM_LIMIT_SOFTNESS** = **4** - **PARAM_LIMIT_RELAXATION** = **5** - **PARAM_MOTOR_TARGET_VELOCITY** = **6** - **PARAM_MOTOR_MAX_IMPULSE** = **7** - **PARAM_MAX** = **8** - **FLAG_USE_LIMIT** = **0** - **FLAG_ENABLE_MOTOR** = **1** - **FLAG_MAX** = **2** Member Function Description --------------------------- .. _class_HingeJoint_get_flag: - :ref:`bool` **get_flag** **(** :ref:`int` flag **)** const .. _class_HingeJoint_get_param: - :ref:`float` **get_param** **(** :ref:`int` param **)** const .. _class_HingeJoint_set_flag: - void **set_flag** **(** :ref:`int` flag, :ref:`bool` enabled **)** .. _class_HingeJoint_set_param: - void **set_param** **(** :ref:`int` param, :ref:`float` value **)**