forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_rigidbody
reduz edited this page Nov 14, 2014
·
12 revisions
####Inherits: PhysicsBody ####Category: Core
- void _integrate_forces ( PhysicsDirectBodyState state ) virtual
- void set_mode ( int mode )
- int get_mode ( ) const
- void set_mass ( float mass )
- float get_mass ( ) const
- void set_weight ( float weight )
- float get_weight ( ) const
- void set_friction ( float friction )
- float get_friction ( ) const
- void set_bounce ( float bounce )
- float get_bounce ( ) const
- void set_linear_velocity ( Vector3 linear_velocity )
- Vector3 get_linear_velocity ( ) const
- void set_angular_velocity ( Vector3 angular_velocity )
- Vector3 get_angular_velocity ( ) const
- void set_max_contacts_reported ( int amount )
- int get_max_contacts_reported ( ) const
- void set_use_custom_integrator ( bool enable )
- bool is_using_custom_integrator ( )
- void set_contact_monitor ( bool enabled )
- bool is_contact_monitor_enabled ( ) const
- void set_use_continuous_collision_detection ( bool enable )
- bool is_using_continuous_collision_detection ( ) const
- void set_axis_velocity ( Vector3 axis_velocity )
- void apply_impulse ( Vector3 pos, Vector3 impulse )
- void set_sleeping ( bool sleeping )
- bool is_sleeping ( ) const
- void set_can_sleep ( bool able_to_sleep )
- bool is_able_to_sleep ( ) const
- void set_axis_lock ( int axis_lock )
- int get_axis_lock ( ) const
- Array get_colliding_bodies ( ) const
- body_enter ( Object body )
- body_enter_shape ( int body_id, Object body, int body_shape, int local_shape )
- body_exit ( Object body )
- body_exit_shape ( int body_id, Object body, int body_shape, int local_shape )
- MODE_STATIC = 1
- MODE_KINEMATIC = 3
- MODE_RIGID = 0
- MODE_CHARACTER = 2