forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_physicsdirectbodystate
reduz edited this page Oct 15, 2014
·
10 revisions
####Inherits: Object ####Category: Core
- Vector3 get_total_gravity ( ) const
- float get_total_density ( ) const
- float get_inverse_mass ( ) const
- Vector3 get_inverse_inertia ( ) const
- void set_linear_velocity ( Vector3 velocity )
- Vector3 get_linear_velocity ( ) const
- void set_angular_velocity ( Vector3 velocity )
- Vector3 get_angular_velocity ( ) const
- void set_transform ( Transform transform )
- Transform get_transform ( ) const
- void add_force ( Vector3 force, Vector3 pos )
- void apply_impulse ( Vector3 pos, Vector3 j )
- void set_sleep_state ( bool enabled )
- bool is_sleeping ( ) const
- int get_contact_count ( ) const
- Vector3 get_contact_local_pos ( int contact_idx ) const
- Vector3 get_contact_local_normal ( int contact_idx ) const
- int get_contact_local_shape ( int contact_idx ) const
- RID get_contact_collider ( int contact_idx ) const
- Vector3 get_contact_collider_pos ( int contact_idx ) const
- int get_contact_collider_id ( int contact_idx ) const
- Object get_contact_collider_object ( int contact_idx ) const
- int get_contact_collider_shape ( int contact_idx ) const
- Vector3 get_contact_collider_velocity_at_pos ( int contact_idx ) const
- float get_step ( ) const
- void integrate_forces ( )
- PhysicsDirectSpaceState get_space_state ( )