class_conetwistjoint.rst 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the ConeTwistJoint.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_ConeTwistJoint:
  5. ConeTwistJoint
  6. ==============
  7. **Inherits:** :ref:`Joint<class_joint>` **<** :ref:`Spatial<class_spatial>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. Member Functions
  12. ----------------
  13. +----------------------------+-----------------------------------------------------------------------------------------------------------------------------+
  14. | :ref:`float<class_float>` | :ref:`get_param<class_ConeTwistJoint_get_param>` **(** :ref:`int<class_int>` param **)** const |
  15. +----------------------------+-----------------------------------------------------------------------------------------------------------------------------+
  16. | void | :ref:`set_param<class_ConeTwistJoint_set_param>` **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)** |
  17. +----------------------------+-----------------------------------------------------------------------------------------------------------------------------+
  18. Member Variables
  19. ----------------
  20. - :ref:`float<class_float>` **bias**
  21. - :ref:`float<class_float>` **relaxation**
  22. - :ref:`float<class_float>` **softness**
  23. - :ref:`float<class_float>` **swing_span**
  24. - :ref:`float<class_float>` **twist_span**
  25. Numeric Constants
  26. -----------------
  27. - **PARAM_SWING_SPAN** = **0**
  28. - **PARAM_TWIST_SPAN** = **1**
  29. - **PARAM_BIAS** = **2**
  30. - **PARAM_SOFTNESS** = **3**
  31. - **PARAM_RELAXATION** = **4**
  32. - **PARAM_MAX** = **5**
  33. Member Function Description
  34. ---------------------------
  35. .. _class_ConeTwistJoint_get_param:
  36. - :ref:`float<class_float>` **get_param** **(** :ref:`int<class_int>` param **)** const
  37. .. _class_ConeTwistJoint_set_param:
  38. - void **set_param** **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)**