.. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/docs/gdscript/doc/classes/PhysicalBone3D.xml. .. _class_PhysicalBone3D: PhysicalBone3D ============== **Inherits:** :ref:`PhysicsBody3D` **<** :ref:`CollisionObject3D` **<** :ref:`Node3D` **<** :ref:`Node` **<** :ref:`Object` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+ | :ref:`float` | :ref:`angular_damp` | ``0.0`` | +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+ | :ref:`DampMode` | :ref:`angular_damp_mode` | ``0`` | +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+ | :ref:`Vector3` | :ref:`angular_velocity` | ``Vector3(0, 0, 0)`` | +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+ | :ref:`Transform3D` | :ref:`body_offset` | ``Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)`` | +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+ | :ref:`float` | :ref:`bounce` | ``0.0`` | +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+ | :ref:`bool` | :ref:`can_sleep` | ``true`` | +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+ | :ref:`bool` | :ref:`custom_integrator` | ``false`` | +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+ | :ref:`float` | :ref:`friction` | ``1.0`` | +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+ | :ref:`float` | :ref:`gravity_scale` | ``1.0`` | +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+ | :ref:`Transform3D` | :ref:`joint_offset` | ``Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)`` | +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+ | :ref:`Vector3` | :ref:`joint_rotation` | ``Vector3(0, 0, 0)`` | +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+ | :ref:`JointType` | :ref:`joint_type` | ``0`` | +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+ | :ref:`float` | :ref:`linear_damp` | ``0.0`` | +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+ | :ref:`DampMode` | :ref:`linear_damp_mode` | ``0`` | +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+ | :ref:`Vector3` | :ref:`linear_velocity` | ``Vector3(0, 0, 0)`` | +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+ | :ref:`float` | :ref:`mass` | ``1.0`` | +-------------------------------------------------+---------------------------------------------------------------------------+-----------------------------------------------------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`_integrate_forces` **(** :ref:`PhysicsDirectBodyState3D` state **)** |virtual| | +-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`apply_central_impulse` **(** :ref:`Vector3` impulse **)** | +-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`apply_impulse` **(** :ref:`Vector3` impulse, :ref:`Vector3` position=Vector3(0, 0, 0) **)** | +-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_bone_id` **(** **)** |const| | +-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`get_simulate_physics` **(** **)** | +-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_simulating_physics` **(** **)** | +-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Enumerations ------------ .. _enum_PhysicalBone3D_DampMode: .. rst-class:: classref-enumeration enum **DampMode**: .. _class_PhysicalBone3D_constant_DAMP_MODE_COMBINE: .. rst-class:: classref-enumeration-constant :ref:`DampMode` **DAMP_MODE_COMBINE** = ``0`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_PhysicalBone3D_constant_DAMP_MODE_REPLACE: .. rst-class:: classref-enumeration-constant :ref:`DampMode` **DAMP_MODE_REPLACE** = ``1`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _enum_PhysicalBone3D_JointType: .. rst-class:: classref-enumeration enum **JointType**: .. _class_PhysicalBone3D_constant_JOINT_TYPE_NONE: .. rst-class:: classref-enumeration-constant :ref:`JointType` **JOINT_TYPE_NONE** = ``0`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_PhysicalBone3D_constant_JOINT_TYPE_PIN: .. rst-class:: classref-enumeration-constant :ref:`JointType` **JOINT_TYPE_PIN** = ``1`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_PhysicalBone3D_constant_JOINT_TYPE_CONE: .. rst-class:: classref-enumeration-constant :ref:`JointType` **JOINT_TYPE_CONE** = ``2`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_PhysicalBone3D_constant_JOINT_TYPE_HINGE: .. rst-class:: classref-enumeration-constant :ref:`JointType` **JOINT_TYPE_HINGE** = ``3`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_PhysicalBone3D_constant_JOINT_TYPE_SLIDER: .. rst-class:: classref-enumeration-constant :ref:`JointType` **JOINT_TYPE_SLIDER** = ``4`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_PhysicalBone3D_constant_JOINT_TYPE_6DOF: .. rst-class:: classref-enumeration-constant :ref:`JointType` **JOINT_TYPE_6DOF** = ``5`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_PhysicalBone3D_property_angular_damp: .. rst-class:: classref-property :ref:`float` **angular_damp** = ``0.0`` .. rst-class:: classref-property-setget - void **set_angular_damp** **(** :ref:`float` value **)** - :ref:`float` **get_angular_damp** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PhysicalBone3D_property_angular_damp_mode: .. rst-class:: classref-property :ref:`DampMode` **angular_damp_mode** = ``0`` .. rst-class:: classref-property-setget - void **set_angular_damp_mode** **(** :ref:`DampMode` value **)** - :ref:`DampMode` **get_angular_damp_mode** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PhysicalBone3D_property_angular_velocity: .. rst-class:: classref-property :ref:`Vector3` **angular_velocity** = ``Vector3(0, 0, 0)`` .. rst-class:: classref-property-setget - void **set_angular_velocity** **(** :ref:`Vector3` value **)** - :ref:`Vector3` **get_angular_velocity** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PhysicalBone3D_property_body_offset: .. rst-class:: classref-property :ref:`Transform3D` **body_offset** = ``Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)`` .. rst-class:: classref-property-setget - void **set_body_offset** **(** :ref:`Transform3D` value **)** - :ref:`Transform3D` **get_body_offset** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PhysicalBone3D_property_bounce: .. rst-class:: classref-property :ref:`float` **bounce** = ``0.0`` .. rst-class:: classref-property-setget - void **set_bounce** **(** :ref:`float` value **)** - :ref:`float` **get_bounce** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PhysicalBone3D_property_can_sleep: .. rst-class:: classref-property :ref:`bool` **can_sleep** = ``true`` .. rst-class:: classref-property-setget - void **set_can_sleep** **(** :ref:`bool` value **)** - :ref:`bool` **is_able_to_sleep** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PhysicalBone3D_property_custom_integrator: .. rst-class:: classref-property :ref:`bool` **custom_integrator** = ``false`` .. rst-class:: classref-property-setget - void **set_use_custom_integrator** **(** :ref:`bool` value **)** - :ref:`bool` **is_using_custom_integrator** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PhysicalBone3D_property_friction: .. rst-class:: classref-property :ref:`float` **friction** = ``1.0`` .. rst-class:: classref-property-setget - void **set_friction** **(** :ref:`float` value **)** - :ref:`float` **get_friction** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PhysicalBone3D_property_gravity_scale: .. rst-class:: classref-property :ref:`float` **gravity_scale** = ``1.0`` .. rst-class:: classref-property-setget - void **set_gravity_scale** **(** :ref:`float` value **)** - :ref:`float` **get_gravity_scale** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PhysicalBone3D_property_joint_offset: .. rst-class:: classref-property :ref:`Transform3D` **joint_offset** = ``Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)`` .. rst-class:: classref-property-setget - void **set_joint_offset** **(** :ref:`Transform3D` value **)** - :ref:`Transform3D` **get_joint_offset** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PhysicalBone3D_property_joint_rotation: .. rst-class:: classref-property :ref:`Vector3` **joint_rotation** = ``Vector3(0, 0, 0)`` .. rst-class:: classref-property-setget - void **set_joint_rotation** **(** :ref:`Vector3` value **)** - :ref:`Vector3` **get_joint_rotation** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PhysicalBone3D_property_joint_type: .. rst-class:: classref-property :ref:`JointType` **joint_type** = ``0`` .. rst-class:: classref-property-setget - void **set_joint_type** **(** :ref:`JointType` value **)** - :ref:`JointType` **get_joint_type** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PhysicalBone3D_property_linear_damp: .. rst-class:: classref-property :ref:`float` **linear_damp** = ``0.0`` .. rst-class:: classref-property-setget - void **set_linear_damp** **(** :ref:`float` value **)** - :ref:`float` **get_linear_damp** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PhysicalBone3D_property_linear_damp_mode: .. rst-class:: classref-property :ref:`DampMode` **linear_damp_mode** = ``0`` .. rst-class:: classref-property-setget - void **set_linear_damp_mode** **(** :ref:`DampMode` value **)** - :ref:`DampMode` **get_linear_damp_mode** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PhysicalBone3D_property_linear_velocity: .. rst-class:: classref-property :ref:`Vector3` **linear_velocity** = ``Vector3(0, 0, 0)`` .. rst-class:: classref-property-setget - void **set_linear_velocity** **(** :ref:`Vector3` value **)** - :ref:`Vector3` **get_linear_velocity** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PhysicalBone3D_property_mass: .. rst-class:: classref-property :ref:`float` **mass** = ``1.0`` .. rst-class:: classref-property-setget - void **set_mass** **(** :ref:`float` value **)** - :ref:`float` **get_mass** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_PhysicalBone3D_private_method__integrate_forces: .. rst-class:: classref-method void **_integrate_forces** **(** :ref:`PhysicsDirectBodyState3D` state **)** |virtual| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PhysicalBone3D_method_apply_central_impulse: .. rst-class:: classref-method void **apply_central_impulse** **(** :ref:`Vector3` impulse **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PhysicalBone3D_method_apply_impulse: .. rst-class:: classref-method void **apply_impulse** **(** :ref:`Vector3` impulse, :ref:`Vector3` position=Vector3(0, 0, 0) **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PhysicalBone3D_method_get_bone_id: .. rst-class:: classref-method :ref:`int` **get_bone_id** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PhysicalBone3D_method_get_simulate_physics: .. rst-class:: classref-method :ref:`bool` **get_simulate_physics** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PhysicalBone3D_method_is_simulating_physics: .. rst-class:: classref-method :ref:`bool` **is_simulating_physics** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`