class_generic6dofjoint.rst 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the Generic6DOFJoint.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_Generic6DOFJoint:
  5. Generic6DOFJoint
  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:`bool<class_bool>` | :ref:`get_flag_x<class_Generic6DOFJoint_get_flag_x>` **(** :ref:`int<class_int>` flag **)** const |
  15. +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  16. | :ref:`bool<class_bool>` | :ref:`get_flag_y<class_Generic6DOFJoint_get_flag_y>` **(** :ref:`int<class_int>` flag **)** const |
  17. +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  18. | :ref:`bool<class_bool>` | :ref:`get_flag_z<class_Generic6DOFJoint_get_flag_z>` **(** :ref:`int<class_int>` flag **)** const |
  19. +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  20. | :ref:`float<class_float>` | :ref:`get_param_x<class_Generic6DOFJoint_get_param_x>` **(** :ref:`int<class_int>` param **)** const |
  21. +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  22. | :ref:`float<class_float>` | :ref:`get_param_y<class_Generic6DOFJoint_get_param_y>` **(** :ref:`int<class_int>` param **)** const |
  23. +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  24. | :ref:`float<class_float>` | :ref:`get_param_z<class_Generic6DOFJoint_get_param_z>` **(** :ref:`int<class_int>` param **)** const |
  25. +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  26. | void | :ref:`set_flag_x<class_Generic6DOFJoint_set_flag_x>` **(** :ref:`int<class_int>` flag, :ref:`bool<class_bool>` value **)** |
  27. +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  28. | void | :ref:`set_flag_y<class_Generic6DOFJoint_set_flag_y>` **(** :ref:`int<class_int>` flag, :ref:`bool<class_bool>` value **)** |
  29. +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  30. | void | :ref:`set_flag_z<class_Generic6DOFJoint_set_flag_z>` **(** :ref:`int<class_int>` flag, :ref:`bool<class_bool>` value **)** |
  31. +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  32. | void | :ref:`set_param_x<class_Generic6DOFJoint_set_param_x>` **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)** |
  33. +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  34. | void | :ref:`set_param_y<class_Generic6DOFJoint_set_param_y>` **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)** |
  35. +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  36. | void | :ref:`set_param_z<class_Generic6DOFJoint_set_param_z>` **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)** |
  37. +----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+
  38. Member Variables
  39. ----------------
  40. - :ref:`float<class_float>` **angular_limit_x/damping**
  41. - :ref:`bool<class_bool>` **angular_limit_x/enabled**
  42. - :ref:`float<class_float>` **angular_limit_x/erp**
  43. - :ref:`float<class_float>` **angular_limit_x/force_limit**
  44. - :ref:`float<class_float>` **angular_limit_x/lower_angle**
  45. - :ref:`float<class_float>` **angular_limit_x/restitution**
  46. - :ref:`float<class_float>` **angular_limit_x/softness**
  47. - :ref:`float<class_float>` **angular_limit_x/upper_angle**
  48. - :ref:`float<class_float>` **angular_limit_y/damping**
  49. - :ref:`bool<class_bool>` **angular_limit_y/enabled**
  50. - :ref:`float<class_float>` **angular_limit_y/erp**
  51. - :ref:`float<class_float>` **angular_limit_y/force_limit**
  52. - :ref:`float<class_float>` **angular_limit_y/lower_angle**
  53. - :ref:`float<class_float>` **angular_limit_y/restitution**
  54. - :ref:`float<class_float>` **angular_limit_y/softness**
  55. - :ref:`float<class_float>` **angular_limit_y/upper_angle**
  56. - :ref:`float<class_float>` **angular_limit_z/damping**
  57. - :ref:`bool<class_bool>` **angular_limit_z/enabled**
  58. - :ref:`float<class_float>` **angular_limit_z/erp**
  59. - :ref:`float<class_float>` **angular_limit_z/force_limit**
  60. - :ref:`float<class_float>` **angular_limit_z/lower_angle**
  61. - :ref:`float<class_float>` **angular_limit_z/restitution**
  62. - :ref:`float<class_float>` **angular_limit_z/softness**
  63. - :ref:`float<class_float>` **angular_limit_z/upper_angle**
  64. - :ref:`bool<class_bool>` **angular_motor_x/enabled**
  65. - :ref:`float<class_float>` **angular_motor_x/force_limit**
  66. - :ref:`float<class_float>` **angular_motor_x/target_velocity**
  67. - :ref:`bool<class_bool>` **angular_motor_y/enabled**
  68. - :ref:`float<class_float>` **angular_motor_y/force_limit**
  69. - :ref:`float<class_float>` **angular_motor_y/target_velocity**
  70. - :ref:`bool<class_bool>` **angular_motor_z/enabled**
  71. - :ref:`float<class_float>` **angular_motor_z/force_limit**
  72. - :ref:`float<class_float>` **angular_motor_z/target_velocity**
  73. - :ref:`float<class_float>` **linear_limit_x/damping**
  74. - :ref:`bool<class_bool>` **linear_limit_x/enabled**
  75. - :ref:`float<class_float>` **linear_limit_x/lower_distance**
  76. - :ref:`float<class_float>` **linear_limit_x/restitution**
  77. - :ref:`float<class_float>` **linear_limit_x/softness**
  78. - :ref:`float<class_float>` **linear_limit_x/upper_distance**
  79. - :ref:`float<class_float>` **linear_limit_y/damping**
  80. - :ref:`bool<class_bool>` **linear_limit_y/enabled**
  81. - :ref:`float<class_float>` **linear_limit_y/lower_distance**
  82. - :ref:`float<class_float>` **linear_limit_y/restitution**
  83. - :ref:`float<class_float>` **linear_limit_y/softness**
  84. - :ref:`float<class_float>` **linear_limit_y/upper_distance**
  85. - :ref:`float<class_float>` **linear_limit_z/damping**
  86. - :ref:`bool<class_bool>` **linear_limit_z/enabled**
  87. - :ref:`float<class_float>` **linear_limit_z/lower_distance**
  88. - :ref:`float<class_float>` **linear_limit_z/restitution**
  89. - :ref:`float<class_float>` **linear_limit_z/softness**
  90. - :ref:`float<class_float>` **linear_limit_z/upper_distance**
  91. Numeric Constants
  92. -----------------
  93. - **PARAM_LINEAR_LOWER_LIMIT** = **0**
  94. - **PARAM_LINEAR_UPPER_LIMIT** = **1**
  95. - **PARAM_LINEAR_LIMIT_SOFTNESS** = **2**
  96. - **PARAM_LINEAR_RESTITUTION** = **3**
  97. - **PARAM_LINEAR_DAMPING** = **4**
  98. - **PARAM_ANGULAR_LOWER_LIMIT** = **5**
  99. - **PARAM_ANGULAR_UPPER_LIMIT** = **6**
  100. - **PARAM_ANGULAR_LIMIT_SOFTNESS** = **7**
  101. - **PARAM_ANGULAR_DAMPING** = **8**
  102. - **PARAM_ANGULAR_RESTITUTION** = **9**
  103. - **PARAM_ANGULAR_FORCE_LIMIT** = **10**
  104. - **PARAM_ANGULAR_ERP** = **11**
  105. - **PARAM_ANGULAR_MOTOR_TARGET_VELOCITY** = **12**
  106. - **PARAM_ANGULAR_MOTOR_FORCE_LIMIT** = **13**
  107. - **PARAM_MAX** = **14**
  108. - **FLAG_ENABLE_LINEAR_LIMIT** = **0**
  109. - **FLAG_ENABLE_ANGULAR_LIMIT** = **1**
  110. - **FLAG_ENABLE_MOTOR** = **2**
  111. - **FLAG_MAX** = **3**
  112. Member Function Description
  113. ---------------------------
  114. .. _class_Generic6DOFJoint_get_flag_x:
  115. - :ref:`bool<class_bool>` **get_flag_x** **(** :ref:`int<class_int>` flag **)** const
  116. .. _class_Generic6DOFJoint_get_flag_y:
  117. - :ref:`bool<class_bool>` **get_flag_y** **(** :ref:`int<class_int>` flag **)** const
  118. .. _class_Generic6DOFJoint_get_flag_z:
  119. - :ref:`bool<class_bool>` **get_flag_z** **(** :ref:`int<class_int>` flag **)** const
  120. .. _class_Generic6DOFJoint_get_param_x:
  121. - :ref:`float<class_float>` **get_param_x** **(** :ref:`int<class_int>` param **)** const
  122. .. _class_Generic6DOFJoint_get_param_y:
  123. - :ref:`float<class_float>` **get_param_y** **(** :ref:`int<class_int>` param **)** const
  124. .. _class_Generic6DOFJoint_get_param_z:
  125. - :ref:`float<class_float>` **get_param_z** **(** :ref:`int<class_int>` param **)** const
  126. .. _class_Generic6DOFJoint_set_flag_x:
  127. - void **set_flag_x** **(** :ref:`int<class_int>` flag, :ref:`bool<class_bool>` value **)**
  128. .. _class_Generic6DOFJoint_set_flag_y:
  129. - void **set_flag_y** **(** :ref:`int<class_int>` flag, :ref:`bool<class_bool>` value **)**
  130. .. _class_Generic6DOFJoint_set_flag_z:
  131. - void **set_flag_z** **(** :ref:`int<class_int>` flag, :ref:`bool<class_bool>` value **)**
  132. .. _class_Generic6DOFJoint_set_param_x:
  133. - void **set_param_x** **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)**
  134. .. _class_Generic6DOFJoint_set_param_y:
  135. - void **set_param_y** **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)**
  136. .. _class_Generic6DOFJoint_set_param_z:
  137. - void **set_param_z** **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)**