PhysicsDirectBodyState

Inherits: Object

Inherited By: PhysicsDirectBodyStateSW

Category: Core

Brief Description

Member Function Description

  • void apply_torqe_impulse ( Vector3 j )
  • Vector3 get_angular_velocity ( ) const
  • Vector3 get_center_of_mass ( ) const
  • RID get_contact_collider ( int contact_idx ) const
  • int get_contact_collider_id ( int contact_idx ) const
  • Object get_contact_collider_object ( int contact_idx ) const
  • Vector3 get_contact_collider_pos ( int contact_idx ) const
  • int get_contact_collider_shape ( int contact_idx ) const
  • Vector3 get_contact_collider_velocity_at_pos ( int contact_idx ) const
  • int get_contact_count ( ) const
  • Vector3 get_contact_local_normal ( int contact_idx ) const
  • Vector3 get_contact_local_pos ( int contact_idx ) const
  • int get_contact_local_shape ( int contact_idx ) const
  • Vector3 get_inverse_inertia ( ) const
  • float get_inverse_mass ( ) const
  • Vector3 get_linear_velocity ( ) const
  • Basis get_principal_inertia_axes ( ) const
  • float get_step ( ) const
  • float get_total_angular_damp ( ) const
  • Vector3 get_total_gravity ( ) const
  • float get_total_linear_damp ( ) const
  • void integrate_forces ( )
  • bool is_sleeping ( ) const
  • void set_angular_velocity ( Vector3 velocity )
  • void set_linear_velocity ( Vector3 velocity )
  • void set_sleep_state ( bool enabled )