class_physicalbone3d.rst 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/4.2/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/4.2/doc/classes/PhysicalBone3D.xml.
  6. .. _class_PhysicalBone3D:
  7. PhysicalBone3D
  8. ==============
  9. **Inherits:** :ref:`PhysicsBody3D<class_PhysicsBody3D>` **<** :ref:`CollisionObject3D<class_CollisionObject3D>` **<** :ref:`Node3D<class_Node3D>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  10. A physics body used to make bones in a :ref:`Skeleton3D<class_Skeleton3D>` react to physics.
  11. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. The **PhysicalBone3D** node is a physics body that can be used to make bones in a :ref:`Skeleton3D<class_Skeleton3D>` react to physics.
  15. .. rst-class:: classref-reftable-group
  16. Properties
  17. ----------
  18. .. table::
  19. :widths: auto
  20. +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+
  21. | :ref:`float<class_float>` | :ref:`angular_damp<class_PhysicalBone3D_property_angular_damp>` | ``0.0`` |
  22. +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+
  23. | :ref:`DampMode<enum_PhysicalBone3D_DampMode>` | :ref:`angular_damp_mode<class_PhysicalBone3D_property_angular_damp_mode>` | ``0`` |
  24. +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+
  25. | :ref:`Vector3<class_Vector3>` | :ref:`angular_velocity<class_PhysicalBone3D_property_angular_velocity>` | ``Vector3(0, 0, 0)`` |
  26. +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+
  27. | :ref:`Transform3D<class_Transform3D>` | :ref:`body_offset<class_PhysicalBone3D_property_body_offset>` | ``Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)`` |
  28. +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+
  29. | :ref:`float<class_float>` | :ref:`bounce<class_PhysicalBone3D_property_bounce>` | ``0.0`` |
  30. +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+
  31. | :ref:`bool<class_bool>` | :ref:`can_sleep<class_PhysicalBone3D_property_can_sleep>` | ``true`` |
  32. +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+
  33. | :ref:`bool<class_bool>` | :ref:`custom_integrator<class_PhysicalBone3D_property_custom_integrator>` | ``false`` |
  34. +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+
  35. | :ref:`float<class_float>` | :ref:`friction<class_PhysicalBone3D_property_friction>` | ``1.0`` |
  36. +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+
  37. | :ref:`float<class_float>` | :ref:`gravity_scale<class_PhysicalBone3D_property_gravity_scale>` | ``1.0`` |
  38. +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+
  39. | :ref:`Transform3D<class_Transform3D>` | :ref:`joint_offset<class_PhysicalBone3D_property_joint_offset>` | ``Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)`` |
  40. +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+
  41. | :ref:`Vector3<class_Vector3>` | :ref:`joint_rotation<class_PhysicalBone3D_property_joint_rotation>` | ``Vector3(0, 0, 0)`` |
  42. +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+
  43. | :ref:`JointType<enum_PhysicalBone3D_JointType>` | :ref:`joint_type<class_PhysicalBone3D_property_joint_type>` | ``0`` |
  44. +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+
  45. | :ref:`float<class_float>` | :ref:`linear_damp<class_PhysicalBone3D_property_linear_damp>` | ``0.0`` |
  46. +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+
  47. | :ref:`DampMode<enum_PhysicalBone3D_DampMode>` | :ref:`linear_damp_mode<class_PhysicalBone3D_property_linear_damp_mode>` | ``0`` |
  48. +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+
  49. | :ref:`Vector3<class_Vector3>` | :ref:`linear_velocity<class_PhysicalBone3D_property_linear_velocity>` | ``Vector3(0, 0, 0)`` |
  50. +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+
  51. | :ref:`float<class_float>` | :ref:`mass<class_PhysicalBone3D_property_mass>` | ``1.0`` |
  52. +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+
  53. .. rst-class:: classref-reftable-group
  54. Methods
  55. -------
  56. .. table::
  57. :widths: auto
  58. +-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  59. | void | :ref:`_integrate_forces<class_PhysicalBone3D_private_method__integrate_forces>` **(** :ref:`PhysicsDirectBodyState3D<class_PhysicsDirectBodyState3D>` state **)** |virtual| |
  60. +-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  61. | void | :ref:`apply_central_impulse<class_PhysicalBone3D_method_apply_central_impulse>` **(** :ref:`Vector3<class_Vector3>` impulse **)** |
  62. +-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  63. | void | :ref:`apply_impulse<class_PhysicalBone3D_method_apply_impulse>` **(** :ref:`Vector3<class_Vector3>` impulse, :ref:`Vector3<class_Vector3>` position=Vector3(0, 0, 0) **)** |
  64. +-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  65. | :ref:`int<class_int>` | :ref:`get_bone_id<class_PhysicalBone3D_method_get_bone_id>` **(** **)** |const| |
  66. +-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  67. | :ref:`bool<class_bool>` | :ref:`get_simulate_physics<class_PhysicalBone3D_method_get_simulate_physics>` **(** **)** |
  68. +-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  69. | :ref:`bool<class_bool>` | :ref:`is_simulating_physics<class_PhysicalBone3D_method_is_simulating_physics>` **(** **)** |
  70. +-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  71. .. rst-class:: classref-section-separator
  72. ----
  73. .. rst-class:: classref-descriptions-group
  74. Enumerations
  75. ------------
  76. .. _enum_PhysicalBone3D_DampMode:
  77. .. rst-class:: classref-enumeration
  78. enum **DampMode**:
  79. .. _class_PhysicalBone3D_constant_DAMP_MODE_COMBINE:
  80. .. rst-class:: classref-enumeration-constant
  81. :ref:`DampMode<enum_PhysicalBone3D_DampMode>` **DAMP_MODE_COMBINE** = ``0``
  82. In this mode, the body's damping value is added to any value set in areas or the default value.
  83. .. _class_PhysicalBone3D_constant_DAMP_MODE_REPLACE:
  84. .. rst-class:: classref-enumeration-constant
  85. :ref:`DampMode<enum_PhysicalBone3D_DampMode>` **DAMP_MODE_REPLACE** = ``1``
  86. In this mode, the body's damping value replaces any value set in areas or the default value.
  87. .. rst-class:: classref-item-separator
  88. ----
  89. .. _enum_PhysicalBone3D_JointType:
  90. .. rst-class:: classref-enumeration
  91. enum **JointType**:
  92. .. _class_PhysicalBone3D_constant_JOINT_TYPE_NONE:
  93. .. rst-class:: classref-enumeration-constant
  94. :ref:`JointType<enum_PhysicalBone3D_JointType>` **JOINT_TYPE_NONE** = ``0``
  95. .. _class_PhysicalBone3D_constant_JOINT_TYPE_PIN:
  96. .. rst-class:: classref-enumeration-constant
  97. :ref:`JointType<enum_PhysicalBone3D_JointType>` **JOINT_TYPE_PIN** = ``1``
  98. .. _class_PhysicalBone3D_constant_JOINT_TYPE_CONE:
  99. .. rst-class:: classref-enumeration-constant
  100. :ref:`JointType<enum_PhysicalBone3D_JointType>` **JOINT_TYPE_CONE** = ``2``
  101. .. _class_PhysicalBone3D_constant_JOINT_TYPE_HINGE:
  102. .. rst-class:: classref-enumeration-constant
  103. :ref:`JointType<enum_PhysicalBone3D_JointType>` **JOINT_TYPE_HINGE** = ``3``
  104. .. _class_PhysicalBone3D_constant_JOINT_TYPE_SLIDER:
  105. .. rst-class:: classref-enumeration-constant
  106. :ref:`JointType<enum_PhysicalBone3D_JointType>` **JOINT_TYPE_SLIDER** = ``4``
  107. .. _class_PhysicalBone3D_constant_JOINT_TYPE_6DOF:
  108. .. rst-class:: classref-enumeration-constant
  109. :ref:`JointType<enum_PhysicalBone3D_JointType>` **JOINT_TYPE_6DOF** = ``5``
  110. .. rst-class:: classref-section-separator
  111. ----
  112. .. rst-class:: classref-descriptions-group
  113. Property Descriptions
  114. ---------------------
  115. .. _class_PhysicalBone3D_property_angular_damp:
  116. .. rst-class:: classref-property
  117. :ref:`float<class_float>` **angular_damp** = ``0.0``
  118. .. rst-class:: classref-property-setget
  119. - void **set_angular_damp** **(** :ref:`float<class_float>` value **)**
  120. - :ref:`float<class_float>` **get_angular_damp** **(** **)**
  121. Damps the body's rotation. By default, the body will use the **Default Angular Damp** in **Project > Project Settings > Physics > 3d** or any value override set by an :ref:`Area3D<class_Area3D>` the body is in. Depending on :ref:`angular_damp_mode<class_PhysicalBone3D_property_angular_damp_mode>`, you can set :ref:`angular_damp<class_PhysicalBone3D_property_angular_damp>` to be added to or to replace the body's damping value.
  122. See :ref:`ProjectSettings.physics/3d/default_angular_damp<class_ProjectSettings_property_physics/3d/default_angular_damp>` for more details about damping.
  123. .. rst-class:: classref-item-separator
  124. ----
  125. .. _class_PhysicalBone3D_property_angular_damp_mode:
  126. .. rst-class:: classref-property
  127. :ref:`DampMode<enum_PhysicalBone3D_DampMode>` **angular_damp_mode** = ``0``
  128. .. rst-class:: classref-property-setget
  129. - void **set_angular_damp_mode** **(** :ref:`DampMode<enum_PhysicalBone3D_DampMode>` value **)**
  130. - :ref:`DampMode<enum_PhysicalBone3D_DampMode>` **get_angular_damp_mode** **(** **)**
  131. Defines how :ref:`angular_damp<class_PhysicalBone3D_property_angular_damp>` is applied. See :ref:`DampMode<enum_PhysicalBone3D_DampMode>` for possible values.
  132. .. rst-class:: classref-item-separator
  133. ----
  134. .. _class_PhysicalBone3D_property_angular_velocity:
  135. .. rst-class:: classref-property
  136. :ref:`Vector3<class_Vector3>` **angular_velocity** = ``Vector3(0, 0, 0)``
  137. .. rst-class:: classref-property-setget
  138. - void **set_angular_velocity** **(** :ref:`Vector3<class_Vector3>` value **)**
  139. - :ref:`Vector3<class_Vector3>` **get_angular_velocity** **(** **)**
  140. The PhysicalBone3D's rotational velocity in *radians* per second.
  141. .. rst-class:: classref-item-separator
  142. ----
  143. .. _class_PhysicalBone3D_property_body_offset:
  144. .. rst-class:: classref-property
  145. :ref:`Transform3D<class_Transform3D>` **body_offset** = ``Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)``
  146. .. rst-class:: classref-property-setget
  147. - void **set_body_offset** **(** :ref:`Transform3D<class_Transform3D>` value **)**
  148. - :ref:`Transform3D<class_Transform3D>` **get_body_offset** **(** **)**
  149. Sets the body's transform.
  150. .. rst-class:: classref-item-separator
  151. ----
  152. .. _class_PhysicalBone3D_property_bounce:
  153. .. rst-class:: classref-property
  154. :ref:`float<class_float>` **bounce** = ``0.0``
  155. .. rst-class:: classref-property-setget
  156. - void **set_bounce** **(** :ref:`float<class_float>` value **)**
  157. - :ref:`float<class_float>` **get_bounce** **(** **)**
  158. The body's bounciness. Values range from ``0`` (no bounce) to ``1`` (full bounciness).
  159. \ **Note:** Even with :ref:`bounce<class_PhysicalBone3D_property_bounce>` set to ``1.0``, some energy will be lost over time due to linear and angular damping. To have a **PhysicalBone3D** that preserves all its energy over time, set :ref:`bounce<class_PhysicalBone3D_property_bounce>` to ``1.0``, :ref:`linear_damp_mode<class_PhysicalBone3D_property_linear_damp_mode>` to :ref:`DAMP_MODE_REPLACE<class_PhysicalBone3D_constant_DAMP_MODE_REPLACE>`, :ref:`linear_damp<class_PhysicalBone3D_property_linear_damp>` to ``0.0``, :ref:`angular_damp_mode<class_PhysicalBone3D_property_angular_damp_mode>` to :ref:`DAMP_MODE_REPLACE<class_PhysicalBone3D_constant_DAMP_MODE_REPLACE>`, and :ref:`angular_damp<class_PhysicalBone3D_property_angular_damp>` to ``0.0``.
  160. .. rst-class:: classref-item-separator
  161. ----
  162. .. _class_PhysicalBone3D_property_can_sleep:
  163. .. rst-class:: classref-property
  164. :ref:`bool<class_bool>` **can_sleep** = ``true``
  165. .. rst-class:: classref-property-setget
  166. - void **set_can_sleep** **(** :ref:`bool<class_bool>` value **)**
  167. - :ref:`bool<class_bool>` **is_able_to_sleep** **(** **)**
  168. If ``true``, the body is deactivated when there is no movement, so it will not take part in the simulation until it is awakened by an external force.
  169. .. rst-class:: classref-item-separator
  170. ----
  171. .. _class_PhysicalBone3D_property_custom_integrator:
  172. .. rst-class:: classref-property
  173. :ref:`bool<class_bool>` **custom_integrator** = ``false``
  174. .. rst-class:: classref-property-setget
  175. - void **set_use_custom_integrator** **(** :ref:`bool<class_bool>` value **)**
  176. - :ref:`bool<class_bool>` **is_using_custom_integrator** **(** **)**
  177. If ``true``, internal force integration will be disabled (like gravity or air friction) for this body. Other than collision response, the body will only move as determined by the :ref:`_integrate_forces<class_PhysicalBone3D_private_method__integrate_forces>` function, if defined.
  178. .. rst-class:: classref-item-separator
  179. ----
  180. .. _class_PhysicalBone3D_property_friction:
  181. .. rst-class:: classref-property
  182. :ref:`float<class_float>` **friction** = ``1.0``
  183. .. rst-class:: classref-property-setget
  184. - void **set_friction** **(** :ref:`float<class_float>` value **)**
  185. - :ref:`float<class_float>` **get_friction** **(** **)**
  186. The body's friction, from ``0`` (frictionless) to ``1`` (max friction).
  187. .. rst-class:: classref-item-separator
  188. ----
  189. .. _class_PhysicalBone3D_property_gravity_scale:
  190. .. rst-class:: classref-property
  191. :ref:`float<class_float>` **gravity_scale** = ``1.0``
  192. .. rst-class:: classref-property-setget
  193. - void **set_gravity_scale** **(** :ref:`float<class_float>` value **)**
  194. - :ref:`float<class_float>` **get_gravity_scale** **(** **)**
  195. This is multiplied by the global 3D gravity setting found in **Project > Project Settings > Physics > 3d** to produce the body's gravity. For example, a value of 1 will be normal gravity, 2 will apply double gravity, and 0.5 will apply half gravity to this object.
  196. .. rst-class:: classref-item-separator
  197. ----
  198. .. _class_PhysicalBone3D_property_joint_offset:
  199. .. rst-class:: classref-property
  200. :ref:`Transform3D<class_Transform3D>` **joint_offset** = ``Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)``
  201. .. rst-class:: classref-property-setget
  202. - void **set_joint_offset** **(** :ref:`Transform3D<class_Transform3D>` value **)**
  203. - :ref:`Transform3D<class_Transform3D>` **get_joint_offset** **(** **)**
  204. Sets the joint's transform.
  205. .. rst-class:: classref-item-separator
  206. ----
  207. .. _class_PhysicalBone3D_property_joint_rotation:
  208. .. rst-class:: classref-property
  209. :ref:`Vector3<class_Vector3>` **joint_rotation** = ``Vector3(0, 0, 0)``
  210. .. rst-class:: classref-property-setget
  211. - void **set_joint_rotation** **(** :ref:`Vector3<class_Vector3>` value **)**
  212. - :ref:`Vector3<class_Vector3>` **get_joint_rotation** **(** **)**
  213. Sets the joint's rotation in radians.
  214. .. rst-class:: classref-item-separator
  215. ----
  216. .. _class_PhysicalBone3D_property_joint_type:
  217. .. rst-class:: classref-property
  218. :ref:`JointType<enum_PhysicalBone3D_JointType>` **joint_type** = ``0``
  219. .. rst-class:: classref-property-setget
  220. - void **set_joint_type** **(** :ref:`JointType<enum_PhysicalBone3D_JointType>` value **)**
  221. - :ref:`JointType<enum_PhysicalBone3D_JointType>` **get_joint_type** **(** **)**
  222. Sets the joint type. See :ref:`JointType<enum_PhysicalBone3D_JointType>` for possible values.
  223. .. rst-class:: classref-item-separator
  224. ----
  225. .. _class_PhysicalBone3D_property_linear_damp:
  226. .. rst-class:: classref-property
  227. :ref:`float<class_float>` **linear_damp** = ``0.0``
  228. .. rst-class:: classref-property-setget
  229. - void **set_linear_damp** **(** :ref:`float<class_float>` value **)**
  230. - :ref:`float<class_float>` **get_linear_damp** **(** **)**
  231. Damps the body's movement. By default, the body will use the **Default Linear Damp** in **Project > Project Settings > Physics > 3d** or any value override set by an :ref:`Area3D<class_Area3D>` the body is in. Depending on :ref:`linear_damp_mode<class_PhysicalBone3D_property_linear_damp_mode>`, you can set :ref:`linear_damp<class_PhysicalBone3D_property_linear_damp>` to be added to or to replace the body's damping value.
  232. See :ref:`ProjectSettings.physics/3d/default_linear_damp<class_ProjectSettings_property_physics/3d/default_linear_damp>` for more details about damping.
  233. .. rst-class:: classref-item-separator
  234. ----
  235. .. _class_PhysicalBone3D_property_linear_damp_mode:
  236. .. rst-class:: classref-property
  237. :ref:`DampMode<enum_PhysicalBone3D_DampMode>` **linear_damp_mode** = ``0``
  238. .. rst-class:: classref-property-setget
  239. - void **set_linear_damp_mode** **(** :ref:`DampMode<enum_PhysicalBone3D_DampMode>` value **)**
  240. - :ref:`DampMode<enum_PhysicalBone3D_DampMode>` **get_linear_damp_mode** **(** **)**
  241. Defines how :ref:`linear_damp<class_PhysicalBone3D_property_linear_damp>` is applied. See :ref:`DampMode<enum_PhysicalBone3D_DampMode>` for possible values.
  242. .. rst-class:: classref-item-separator
  243. ----
  244. .. _class_PhysicalBone3D_property_linear_velocity:
  245. .. rst-class:: classref-property
  246. :ref:`Vector3<class_Vector3>` **linear_velocity** = ``Vector3(0, 0, 0)``
  247. .. rst-class:: classref-property-setget
  248. - void **set_linear_velocity** **(** :ref:`Vector3<class_Vector3>` value **)**
  249. - :ref:`Vector3<class_Vector3>` **get_linear_velocity** **(** **)**
  250. The body's linear velocity in units per second. Can be used sporadically, but **don't set this every frame**, because physics may run in another thread and runs at a different granularity. Use :ref:`_integrate_forces<class_PhysicalBone3D_private_method__integrate_forces>` as your process loop for precise control of the body state.
  251. .. rst-class:: classref-item-separator
  252. ----
  253. .. _class_PhysicalBone3D_property_mass:
  254. .. rst-class:: classref-property
  255. :ref:`float<class_float>` **mass** = ``1.0``
  256. .. rst-class:: classref-property-setget
  257. - void **set_mass** **(** :ref:`float<class_float>` value **)**
  258. - :ref:`float<class_float>` **get_mass** **(** **)**
  259. The body's mass.
  260. .. rst-class:: classref-section-separator
  261. ----
  262. .. rst-class:: classref-descriptions-group
  263. Method Descriptions
  264. -------------------
  265. .. _class_PhysicalBone3D_private_method__integrate_forces:
  266. .. rst-class:: classref-method
  267. void **_integrate_forces** **(** :ref:`PhysicsDirectBodyState3D<class_PhysicsDirectBodyState3D>` state **)** |virtual|
  268. Called during physics processing, allowing you to read and safely modify the simulation state for the object. By default, it works in addition to the usual physics behavior, but the :ref:`custom_integrator<class_PhysicalBone3D_property_custom_integrator>` property allows you to disable the default behavior and do fully custom force integration for a body.
  269. .. rst-class:: classref-item-separator
  270. ----
  271. .. _class_PhysicalBone3D_method_apply_central_impulse:
  272. .. rst-class:: classref-method
  273. void **apply_central_impulse** **(** :ref:`Vector3<class_Vector3>` impulse **)**
  274. .. container:: contribute
  275. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  276. .. rst-class:: classref-item-separator
  277. ----
  278. .. _class_PhysicalBone3D_method_apply_impulse:
  279. .. rst-class:: classref-method
  280. void **apply_impulse** **(** :ref:`Vector3<class_Vector3>` impulse, :ref:`Vector3<class_Vector3>` position=Vector3(0, 0, 0) **)**
  281. .. container:: contribute
  282. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  283. .. rst-class:: classref-item-separator
  284. ----
  285. .. _class_PhysicalBone3D_method_get_bone_id:
  286. .. rst-class:: classref-method
  287. :ref:`int<class_int>` **get_bone_id** **(** **)** |const|
  288. .. container:: contribute
  289. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  290. .. rst-class:: classref-item-separator
  291. ----
  292. .. _class_PhysicalBone3D_method_get_simulate_physics:
  293. .. rst-class:: classref-method
  294. :ref:`bool<class_bool>` **get_simulate_physics** **(** **)**
  295. .. container:: contribute
  296. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  297. .. rst-class:: classref-item-separator
  298. ----
  299. .. _class_PhysicalBone3D_method_is_simulating_physics:
  300. .. rst-class:: classref-method
  301. :ref:`bool<class_bool>` **is_simulating_physics** **(** **)**
  302. .. container:: contribute
  303. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  304. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  305. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  306. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  307. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  308. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  309. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
  310. .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`