forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_staticbody
Rémi Verschelde edited this page Feb 16, 2016
·
13 revisions
Important: This wiki is soon going to be taken down, as the official documentation of the Godot project is now on http://docs.godotengine.org.
####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.