forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_physicsdirectbodystate
reduz edited this page Feb 23, 2014
·
10 revisions
####Inherits: Object ####Category: Core
-
Vector3
get_total_gravity
( ) const -
real
get_total_density
( ) const -
real
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
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 -
real
get_step
( ) const - void
integrate_forces
( ) -
PhysicsDirectSpaceState
get_space_state
( )