2
0

class_generic6dofjoint.rst 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
  3. .. _class_Generic6DOFJoint:
  4. Generic6DOFJoint
  5. ================
  6. **Inherits:** :ref:`Joint<class_joint>` **<** :ref:`Spatial<class_spatial>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
  7. **Category:** Core
  8. Brief Description
  9. -----------------
  10. Member Functions
  11. ----------------
  12. +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  13. | :ref:`bool<class_bool>` | :ref:`get_flag_x<class_Generic6DOFJoint_get_flag_x>` **(** :ref:`int<class_int>` flag **)** const |
  14. +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  15. | :ref:`bool<class_bool>` | :ref:`get_flag_y<class_Generic6DOFJoint_get_flag_y>` **(** :ref:`int<class_int>` flag **)** const |
  16. +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  17. | :ref:`bool<class_bool>` | :ref:`get_flag_z<class_Generic6DOFJoint_get_flag_z>` **(** :ref:`int<class_int>` flag **)** const |
  18. +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  19. | :ref:`float<class_float>` | :ref:`get_param_x<class_Generic6DOFJoint_get_param_x>` **(** :ref:`int<class_int>` param **)** const |
  20. +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  21. | :ref:`float<class_float>` | :ref:`get_param_y<class_Generic6DOFJoint_get_param_y>` **(** :ref:`int<class_int>` param **)** const |
  22. +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  23. | :ref:`float<class_float>` | :ref:`get_param_z<class_Generic6DOFJoint_get_param_z>` **(** :ref:`int<class_int>` param **)** const |
  24. +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  25. | void | :ref:`set_flag_x<class_Generic6DOFJoint_set_flag_x>` **(** :ref:`int<class_int>` flag, :ref:`bool<class_bool>` value **)** |
  26. +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  27. | void | :ref:`set_flag_y<class_Generic6DOFJoint_set_flag_y>` **(** :ref:`int<class_int>` flag, :ref:`bool<class_bool>` value **)** |
  28. +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  29. | void | :ref:`set_flag_z<class_Generic6DOFJoint_set_flag_z>` **(** :ref:`int<class_int>` flag, :ref:`bool<class_bool>` value **)** |
  30. +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  31. | void | :ref:`set_param_x<class_Generic6DOFJoint_set_param_x>` **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)** |
  32. +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  33. | void | :ref:`set_param_y<class_Generic6DOFJoint_set_param_y>` **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)** |
  34. +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  35. | void | :ref:`set_param_z<class_Generic6DOFJoint_set_param_z>` **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)** |
  36. +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  37. Numeric Constants
  38. -----------------
  39. - **PARAM_LINEAR_LOWER_LIMIT** = **0**
  40. - **PARAM_LINEAR_UPPER_LIMIT** = **1**
  41. - **PARAM_LINEAR_LIMIT_SOFTNESS** = **2**
  42. - **PARAM_LINEAR_RESTITUTION** = **3**
  43. - **PARAM_LINEAR_DAMPING** = **4**
  44. - **PARAM_ANGULAR_LOWER_LIMIT** = **5**
  45. - **PARAM_ANGULAR_UPPER_LIMIT** = **6**
  46. - **PARAM_ANGULAR_LIMIT_SOFTNESS** = **7**
  47. - **PARAM_ANGULAR_DAMPING** = **8**
  48. - **PARAM_ANGULAR_RESTITUTION** = **9**
  49. - **PARAM_ANGULAR_FORCE_LIMIT** = **10**
  50. - **PARAM_ANGULAR_ERP** = **11**
  51. - **PARAM_ANGULAR_MOTOR_TARGET_VELOCITY** = **12**
  52. - **PARAM_ANGULAR_MOTOR_FORCE_LIMIT** = **13**
  53. - **PARAM_MAX** = **14**
  54. - **FLAG_ENABLE_LINEAR_LIMIT** = **0**
  55. - **FLAG_ENABLE_ANGULAR_LIMIT** = **1**
  56. - **FLAG_ENABLE_MOTOR** = **2**
  57. - **FLAG_MAX** = **3**
  58. Member Function Description
  59. ---------------------------
  60. .. _class_Generic6DOFJoint_get_flag_x:
  61. - :ref:`bool<class_bool>` **get_flag_x** **(** :ref:`int<class_int>` flag **)** const
  62. .. _class_Generic6DOFJoint_get_flag_y:
  63. - :ref:`bool<class_bool>` **get_flag_y** **(** :ref:`int<class_int>` flag **)** const
  64. .. _class_Generic6DOFJoint_get_flag_z:
  65. - :ref:`bool<class_bool>` **get_flag_z** **(** :ref:`int<class_int>` flag **)** const
  66. .. _class_Generic6DOFJoint_get_param_x:
  67. - :ref:`float<class_float>` **get_param_x** **(** :ref:`int<class_int>` param **)** const
  68. .. _class_Generic6DOFJoint_get_param_y:
  69. - :ref:`float<class_float>` **get_param_y** **(** :ref:`int<class_int>` param **)** const
  70. .. _class_Generic6DOFJoint_get_param_z:
  71. - :ref:`float<class_float>` **get_param_z** **(** :ref:`int<class_int>` param **)** const
  72. .. _class_Generic6DOFJoint_set_flag_x:
  73. - void **set_flag_x** **(** :ref:`int<class_int>` flag, :ref:`bool<class_bool>` value **)**
  74. .. _class_Generic6DOFJoint_set_flag_y:
  75. - void **set_flag_y** **(** :ref:`int<class_int>` flag, :ref:`bool<class_bool>` value **)**
  76. .. _class_Generic6DOFJoint_set_flag_z:
  77. - void **set_flag_z** **(** :ref:`int<class_int>` flag, :ref:`bool<class_bool>` value **)**
  78. .. _class_Generic6DOFJoint_set_param_x:
  79. - void **set_param_x** **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)**
  80. .. _class_Generic6DOFJoint_set_param_y:
  81. - void **set_param_y** **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)**
  82. .. _class_Generic6DOFJoint_set_param_z:
  83. - void **set_param_z** **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)**