PhysicsDirectBodyState.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="PhysicsDirectBodyState" inherits="Object" category="Core" version="3.0.alpha.custom_build">
  3. <brief_description>
  4. </brief_description>
  5. <description>
  6. </description>
  7. <tutorials>
  8. </tutorials>
  9. <demos>
  10. </demos>
  11. <methods>
  12. <method name="add_force">
  13. <return type="void">
  14. </return>
  15. <argument index="0" name="force" type="Vector3">
  16. </argument>
  17. <argument index="1" name="position" type="Vector3">
  18. </argument>
  19. <description>
  20. </description>
  21. </method>
  22. <method name="apply_impulse">
  23. <return type="void">
  24. </return>
  25. <argument index="0" name="position" type="Vector3">
  26. </argument>
  27. <argument index="1" name="j" type="Vector3">
  28. </argument>
  29. <description>
  30. </description>
  31. </method>
  32. <method name="apply_torqe_impulse">
  33. <return type="void">
  34. </return>
  35. <argument index="0" name="j" type="Vector3">
  36. </argument>
  37. <description>
  38. </description>
  39. </method>
  40. <method name="get_angular_velocity" qualifiers="const">
  41. <return type="Vector3">
  42. </return>
  43. <description>
  44. </description>
  45. </method>
  46. <method name="get_center_of_mass" qualifiers="const">
  47. <return type="Vector3">
  48. </return>
  49. <description>
  50. </description>
  51. </method>
  52. <method name="get_contact_collider" qualifiers="const">
  53. <return type="RID">
  54. </return>
  55. <argument index="0" name="contact_idx" type="int">
  56. </argument>
  57. <description>
  58. </description>
  59. </method>
  60. <method name="get_contact_collider_id" qualifiers="const">
  61. <return type="int">
  62. </return>
  63. <argument index="0" name="contact_idx" type="int">
  64. </argument>
  65. <description>
  66. </description>
  67. </method>
  68. <method name="get_contact_collider_object" qualifiers="const">
  69. <return type="Object">
  70. </return>
  71. <argument index="0" name="contact_idx" type="int">
  72. </argument>
  73. <description>
  74. </description>
  75. </method>
  76. <method name="get_contact_collider_position" qualifiers="const">
  77. <return type="Vector3">
  78. </return>
  79. <argument index="0" name="contact_idx" type="int">
  80. </argument>
  81. <description>
  82. </description>
  83. </method>
  84. <method name="get_contact_collider_shape" qualifiers="const">
  85. <return type="int">
  86. </return>
  87. <argument index="0" name="contact_idx" type="int">
  88. </argument>
  89. <description>
  90. </description>
  91. </method>
  92. <method name="get_contact_collider_velocity_at_position" qualifiers="const">
  93. <return type="Vector3">
  94. </return>
  95. <argument index="0" name="contact_idx" type="int">
  96. </argument>
  97. <description>
  98. </description>
  99. </method>
  100. <method name="get_contact_count" qualifiers="const">
  101. <return type="int">
  102. </return>
  103. <description>
  104. </description>
  105. </method>
  106. <method name="get_contact_local_normal" qualifiers="const">
  107. <return type="Vector3">
  108. </return>
  109. <argument index="0" name="contact_idx" type="int">
  110. </argument>
  111. <description>
  112. </description>
  113. </method>
  114. <method name="get_contact_local_position" qualifiers="const">
  115. <return type="Vector3">
  116. </return>
  117. <argument index="0" name="contact_idx" type="int">
  118. </argument>
  119. <description>
  120. </description>
  121. </method>
  122. <method name="get_contact_local_shape" qualifiers="const">
  123. <return type="int">
  124. </return>
  125. <argument index="0" name="contact_idx" type="int">
  126. </argument>
  127. <description>
  128. </description>
  129. </method>
  130. <method name="get_inverse_inertia" qualifiers="const">
  131. <return type="Vector3">
  132. </return>
  133. <description>
  134. </description>
  135. </method>
  136. <method name="get_inverse_mass" qualifiers="const">
  137. <return type="float">
  138. </return>
  139. <description>
  140. </description>
  141. </method>
  142. <method name="get_linear_velocity" qualifiers="const">
  143. <return type="Vector3">
  144. </return>
  145. <description>
  146. </description>
  147. </method>
  148. <method name="get_principal_inertia_axes" qualifiers="const">
  149. <return type="Basis">
  150. </return>
  151. <description>
  152. </description>
  153. </method>
  154. <method name="get_space_state">
  155. <return type="PhysicsDirectSpaceState">
  156. </return>
  157. <description>
  158. </description>
  159. </method>
  160. <method name="get_step" qualifiers="const">
  161. <return type="float">
  162. </return>
  163. <description>
  164. </description>
  165. </method>
  166. <method name="get_total_angular_damp" qualifiers="const">
  167. <return type="float">
  168. </return>
  169. <description>
  170. </description>
  171. </method>
  172. <method name="get_total_gravity" qualifiers="const">
  173. <return type="Vector3">
  174. </return>
  175. <description>
  176. </description>
  177. </method>
  178. <method name="get_total_linear_damp" qualifiers="const">
  179. <return type="float">
  180. </return>
  181. <description>
  182. </description>
  183. </method>
  184. <method name="get_transform" qualifiers="const">
  185. <return type="Transform">
  186. </return>
  187. <description>
  188. </description>
  189. </method>
  190. <method name="integrate_forces">
  191. <return type="void">
  192. </return>
  193. <description>
  194. </description>
  195. </method>
  196. <method name="is_sleeping" qualifiers="const">
  197. <return type="bool">
  198. </return>
  199. <description>
  200. </description>
  201. </method>
  202. <method name="set_angular_velocity">
  203. <return type="void">
  204. </return>
  205. <argument index="0" name="velocity" type="Vector3">
  206. </argument>
  207. <description>
  208. </description>
  209. </method>
  210. <method name="set_linear_velocity">
  211. <return type="void">
  212. </return>
  213. <argument index="0" name="velocity" type="Vector3">
  214. </argument>
  215. <description>
  216. </description>
  217. </method>
  218. <method name="set_sleep_state">
  219. <return type="void">
  220. </return>
  221. <argument index="0" name="enabled" type="bool">
  222. </argument>
  223. <description>
  224. </description>
  225. </method>
  226. <method name="set_transform">
  227. <return type="void">
  228. </return>
  229. <argument index="0" name="transform" type="Transform">
  230. </argument>
  231. <description>
  232. </description>
  233. </method>
  234. </methods>
  235. <constants>
  236. </constants>
  237. </class>