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
·
9 revisions
####Inherits: PhysicsBody ####Category: Core
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.