class

Godot::PhysicsDirectBodyState3D

Inherits Godot::Object < Reference < Object

Constructors

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

Instance methods

add_constant_central_force(force : Vector3) : Void
Source
add_constant_force(force : Vector3, position : Vector3) : Void
Source
add_constant_torque(torque : Vector3) : Void
Source
angular_velocity

Property angular_velocity getter

Source
angular_velocity=(val)

Property angular_velocity setter

Source
apply_central_force(force : Vector3) : Void
Source
apply_central_impulse(impulse : Vector3) : Void
Source
apply_force(force : Vector3, position : Vector3) : Void
Source
apply_impulse(impulse : Vector3, position : Vector3) : Void
Source
apply_torque(torque : Vector3) : Void
Source
apply_torque_impulse(impulse : Vector3) : Void
Source
center_of_mass

Property center_of_mass getter

Source
center_of_mass_local

Property center_of_mass_local getter

Source
collision_layer

Property collision_layer getter

Source
collision_layer=(val : Int)

Property collision_layer setter

Source
collision_mask

Property collision_mask getter

Source
collision_mask=(val : Int)

Property collision_mask setter

Source
get_angular_velocity
Source
get_center_of_mass
Source
get_center_of_mass_local
Source
get_collision_layer
Source
get_collision_mask
Source
get_constant_force
Source
get_constant_torque
Source
get_contact_collider(contact_idx : Int64) : Int64
Source
get_contact_collider_id(contact_idx : Int64) : Int64
Source
get_contact_collider_object(contact_idx : Int64) : Godot::Object
Source
get_contact_collider_position(contact_idx : Int64) : Vector3
Source
get_contact_collider_shape(contact_idx : Int64) : Int64
Source
get_contact_collider_velocity_at_position(contact_idx : Int64) : Vector3
Source
get_contact_count
Source
get_contact_impulse(contact_idx : Int64) : Vector3
Source
get_contact_local_normal(contact_idx : Int64) : Vector3
Source
get_contact_local_position(contact_idx : Int64) : Vector3
Source
get_contact_local_shape(contact_idx : Int64) : Int64
Source
get_contact_local_velocity_at_position(contact_idx : Int64) : Vector3
Source
get_inverse_inertia
Source
get_inverse_inertia_tensor
Source
get_inverse_mass
Source
get_linear_velocity
Source
get_principal_inertia_axes
Source
get_space_state
Source
get_step
Source
get_total_angular_damp
Source
get_total_gravity
Source
get_total_linear_damp
Source
get_transform
Source
get_velocity_at_local_position(local_position : Vector3) : Vector3
Source
integrate_forces
Source
inverse_inertia

Property inverse_inertia getter

Source
inverse_inertia_tensor

Property inverse_inertia_tensor getter

Source
inverse_mass

Property inverse_mass getter

Source
is_sleeping
Source
linear_velocity

Property linear_velocity getter

Source
linear_velocity=(val)

Property linear_velocity setter

Source
principal_inertia_axes

Property principal_inertia_axes getter

Source
set_angular_velocity(velocity : Vector3) : Void
Source
set_collision_layer(layer : Int64) : Void
Source
set_collision_mask(mask : Int64) : Void
Source
set_constant_force(force : Vector3) : Void
Source
set_constant_torque(torque : Vector3) : Void
Source
set_linear_velocity(velocity : Vector3) : Void
Source
set_sleep_state(enabled : Bool) : Void
Source
set_transform(transform : Transform3D) : Void
Source
sleeping

Property sleeping getter

Source
sleeping=(val)

Property sleeping setter

Source
sleeping?
Source
step

Property step getter

Source
total_angular_damp

Property total_angular_damp getter

Source
total_gravity

Property total_gravity getter

Source
total_linear_damp

Property total_linear_damp getter

Source
transform

Property transform getter

Source
transform=(val)

Property transform setter

Source