.. 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/modules/gltf/doc_classes/GLTFPhysicsBody.xml. .. _class_GLTFPhysicsBody: GLTFPhysicsBody =============== **Inherits:** :ref:`Resource` **<** :ref:`RefCounted` **<** :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:`Vector3` | :ref:`angular_velocity` | ``Vector3(0, 0, 0)`` | +-------------------------------------+--------------------------------------------------------------------------------+--------------------------------------+ | :ref:`String` | :ref:`body_type` | ``"rigid"`` | +-------------------------------------+--------------------------------------------------------------------------------+--------------------------------------+ | :ref:`Vector3` | :ref:`center_of_mass` | ``Vector3(0, 0, 0)`` | +-------------------------------------+--------------------------------------------------------------------------------+--------------------------------------+ | :ref:`Vector3` | :ref:`inertia_diagonal` | ``Vector3(0, 0, 0)`` | +-------------------------------------+--------------------------------------------------------------------------------+--------------------------------------+ | :ref:`Quaternion` | :ref:`inertia_orientation` | ``Quaternion(0, 0, 0, 1)`` | +-------------------------------------+--------------------------------------------------------------------------------+--------------------------------------+ | :ref:`Basis` | :ref:`inertia_tensor` | ``Basis(0, 0, 0, 0, 0, 0, 0, 0, 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 +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`GLTFPhysicsBody` | :ref:`from_dictionary` **(** :ref:`Dictionary` dictionary **)** |static| | +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`GLTFPhysicsBody` | :ref:`from_node` **(** :ref:`CollisionObject3D` body_node **)** |static| | +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Dictionary` | :ref:`to_dictionary` **(** **)** |const| | +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`CollisionObject3D` | :ref:`to_node` **(** **)** |const| | +---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_GLTFPhysicsBody_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_GLTFPhysicsBody_property_body_type: .. rst-class:: classref-property :ref:`String` **body_type** = ``"rigid"`` .. rst-class:: classref-property-setget - void **set_body_type** **(** :ref:`String` value **)** - :ref:`String` **get_body_type** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFPhysicsBody_property_center_of_mass: .. rst-class:: classref-property :ref:`Vector3` **center_of_mass** = ``Vector3(0, 0, 0)`` .. rst-class:: classref-property-setget - void **set_center_of_mass** **(** :ref:`Vector3` value **)** - :ref:`Vector3` **get_center_of_mass** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFPhysicsBody_property_inertia_diagonal: .. rst-class:: classref-property :ref:`Vector3` **inertia_diagonal** = ``Vector3(0, 0, 0)`` .. rst-class:: classref-property-setget - void **set_inertia_diagonal** **(** :ref:`Vector3` value **)** - :ref:`Vector3` **get_inertia_diagonal** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFPhysicsBody_property_inertia_orientation: .. rst-class:: classref-property :ref:`Quaternion` **inertia_orientation** = ``Quaternion(0, 0, 0, 1)`` .. rst-class:: classref-property-setget - void **set_inertia_orientation** **(** :ref:`Quaternion` value **)** - :ref:`Quaternion` **get_inertia_orientation** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFPhysicsBody_property_inertia_tensor: .. rst-class:: classref-property :ref:`Basis` **inertia_tensor** = ``Basis(0, 0, 0, 0, 0, 0, 0, 0, 0)`` .. rst-class:: classref-property-setget - void **set_inertia_tensor** **(** :ref:`Basis` value **)** - :ref:`Basis` **get_inertia_tensor** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFPhysicsBody_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_GLTFPhysicsBody_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_GLTFPhysicsBody_method_from_dictionary: .. rst-class:: classref-method :ref:`GLTFPhysicsBody` **from_dictionary** **(** :ref:`Dictionary` dictionary **)** |static| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFPhysicsBody_method_from_node: .. rst-class:: classref-method :ref:`GLTFPhysicsBody` **from_node** **(** :ref:`CollisionObject3D` body_node **)** |static| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFPhysicsBody_method_to_dictionary: .. rst-class:: classref-method :ref:`Dictionary` **to_dictionary** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFPhysicsBody_method_to_node: .. rst-class:: classref-method :ref:`CollisionObject3D` **to_node** **(** **)** |const| .. 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.)`