class

Godot::GLTFPhysicsBody

Inherits Godot::Resource < Godot::RefCounted < Godot::Object < Reference < Object

Constructors

new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Instance methods

angular_velocity

Property angular_velocity getter

Source
angular_velocity=(val)

Property angular_velocity setter

Source
body_type

Property body_type getter

Source
body_type=(val)

Property body_type setter

Source
center_of_mass

Property center_of_mass getter

Source
center_of_mass=(val)

Property center_of_mass setter

Source
from_dictionary(dictionary : Pointer(Void)) : GLTFPhysicsBody
Source
from_node(body_node : CollisionObject3D) : GLTFPhysicsBody
Source
get_angular_velocity
Source
get_body_type
Source
get_center_of_mass
Source
get_inertia_diagonal
Source
get_inertia_orientation
Source
get_inertia_tensor
Source
get_linear_velocity
Source
get_mass
Source
inertia_diagonal

Property inertia_diagonal getter

Source
inertia_diagonal=(val)

Property inertia_diagonal setter

Source
inertia_orientation

Property inertia_orientation getter

Source
inertia_orientation=(val)

Property inertia_orientation setter

Source
inertia_tensor

Property inertia_tensor getter

Source
inertia_tensor=(val)

Property inertia_tensor setter

Source
linear_velocity

Property linear_velocity getter

Source
linear_velocity=(val)

Property linear_velocity setter

Source
mass

Property mass getter

Source
mass=(val : Number)

Property mass setter

Source
set_angular_velocity(angular_velocity : Vector3) : Void
Source
set_body_type(body_type : String) : Void
Source
set_center_of_mass(center_of_mass : Vector3) : Void
Source
set_inertia_diagonal(inertia_diagonal : Vector3) : Void
Source
set_inertia_orientation(inertia_orientation : Quaternion) : Void
Source
set_inertia_tensor(inertia_tensor : Basis) : Void
Source
set_linear_velocity(linear_velocity : Vector3) : Void
Source
set_mass(mass : Float64) : Void
Source
to_dictionary
Source
to_node
Source