GLTFPhysicsBody

Inherits: Resource < RefCounted < Object

There is currently no description for this class. Please help us by contributing one!

Properties

Vector3

angular_velocity

Vector3(0, 0, 0)

String

body_type

"rigid"

Vector3

center_of_mass

Vector3(0, 0, 0)

Vector3

inertia_diagonal

Vector3(0, 0, 0)

Quaternion

inertia_orientation

Quaternion(0, 0, 0, 1)

Basis

inertia_tensor

Basis(0, 0, 0, 0, 0, 0, 0, 0, 0)

Vector3

linear_velocity

Vector3(0, 0, 0)

float

mass

1.0

Methods

GLTFPhysicsBody

from_dictionary ( Dictionary dictionary ) static

GLTFPhysicsBody

from_node ( CollisionObject3D body_node ) static

Dictionary

to_dictionary ( ) const

CollisionObject3D

to_node ( ) const


Property Descriptions

Vector3 angular_velocity = Vector3(0, 0, 0)

  • void set_angular_velocity ( Vector3 value )

  • Vector3 get_angular_velocity ( )

There is currently no description for this property. Please help us by contributing one!


String body_type = "rigid"

  • void set_body_type ( String value )

  • String get_body_type ( )

There is currently no description for this property. Please help us by contributing one!


Vector3 center_of_mass = Vector3(0, 0, 0)

  • void set_center_of_mass ( Vector3 value )

  • Vector3 get_center_of_mass ( )

There is currently no description for this property. Please help us by contributing one!


Vector3 inertia_diagonal = Vector3(0, 0, 0)

  • void set_inertia_diagonal ( Vector3 value )

  • Vector3 get_inertia_diagonal ( )

There is currently no description for this property. Please help us by contributing one!


Quaternion inertia_orientation = Quaternion(0, 0, 0, 1)

There is currently no description for this property. Please help us by contributing one!


Basis inertia_tensor = Basis(0, 0, 0, 0, 0, 0, 0, 0, 0)

  • void set_inertia_tensor ( Basis value )

  • Basis get_inertia_tensor ( )

There is currently no description for this property. Please help us by contributing one!


Vector3 linear_velocity = Vector3(0, 0, 0)

  • void set_linear_velocity ( Vector3 value )

  • Vector3 get_linear_velocity ( )

There is currently no description for this property. Please help us by contributing one!


float mass = 1.0

  • void set_mass ( float value )

  • float get_mass ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

GLTFPhysicsBody from_dictionary ( Dictionary dictionary ) static

There is currently no description for this method. Please help us by contributing one!


GLTFPhysicsBody from_node ( CollisionObject3D body_node ) static

There is currently no description for this method. Please help us by contributing one!


Dictionary to_dictionary ( ) const

There is currently no description for this method. Please help us by contributing one!


CollisionObject3D to_node ( ) const

There is currently no description for this method. Please help us by contributing one!