forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_staticbody
reduz edited this page Oct 15, 2014
·
9 revisions
####Inherits: PhysicsBody ####Category: Core
PhysicsBody for static collision objects.
- void set_constant_linear_velocity ( Vector3 vel )
- void set_constant_angular_velocity ( Vector3 vel )
- Vector3 get_constant_linear_velocity ( ) const
- Vector3 get_constant_angular_velocity ( ) const
- void set_friction ( float friction )
- float get_friction ( ) const
- void set_bounce ( float bounce )
- float get_bounce ( ) const
StaticBody implements a static collision Node, by utilizing a rigid body in the PhysicsServer. Static bodies are used for static collision. For more information on physics body nodes, see PhysicsBody.