forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_staticbody
reduz edited this page Feb 23, 2014
·
13 revisions
Inherits: PhysicsBody\n\n### Brief Description
PhysicsBody for static collision objects.
- void set_simulate_motion" ( bool enabled )
- bool is_simulating_motion" ( ) const
- 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
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.