Represents a GLTF physics body. Represents a physics body as an intermediary between the [code]OMI_physics_body[/code] GLTF data and Godot's nodes, and it's abstracted in a way that allows adding support for different GLTF physics extensions in the future. $DOCS_URL/tutorials/io/runtime_file_loading_and_saving.html https://github.com/omigroup/gltf-extensions/tree/main/extensions/2.0/OMI_physics_body Creates a new GLTFPhysicsBody instance by parsing the given [Dictionary] in the [code]OMI_physics_body[/code] GLTF extension format. Creates a new GLTFPhysicsBody instance from the given Godot [CollisionObject3D] node. Serializes this GLTFPhysicsBody instance into a [Dictionary]. It will be in the format expected by the [code]OMI_physics_body[/code] GLTF extension. Converts this GLTFPhysicsBody instance into a Godot [CollisionObject3D] node. The angular velocity of the physics body, in radians per second. This is only used when the body type is "rigid" or "vehicle". The type of the body. When importing, this controls what type of [CollisionObject3D] node Godot should generate. Valid values are "static", "animatable", "character", "rigid", "vehicle", and "trigger". When exporting, this will be squashed down to one of "static", "kinematic", or "dynamic" motion types, or the "trigger" property. The center of mass of the body, in meters. This is in local space relative to the body. By default, the center of the mass is the body's origin. The inertia strength of the physics body, in kilogram meter squared (kg⋅m²). This represents the inertia around the principle axes, the diagonal of the inertia tensor matrix. This is only used when the body type is "rigid" or "vehicle". When converted to a Godot [RigidBody3D] node, if this value is zero, then the inertia will be calculated automatically. The inertia orientation of the physics body. This defines the rotation of the inertia's principle axes relative to the object's local axes. This is only used when the body type is "rigid" or "vehicle" and [member inertia_diagonal] is set to a non-zero value. The inertia tensor of the physics body, in kilogram meter squared (kg⋅m²). This is only used when the body type is "rigid" or "vehicle". When converted to a Godot [RigidBody3D] node, if this value is zero, then the inertia will be calculated automatically. The linear velocity of the physics body, in meters per second. This is only used when the body type is "rigid" or "vehicle". The mass of the physics body, in kilograms. This is only used when the body type is "rigid" or "vehicle".