class_staticbody - dragonsoulz/godot GitHub Wiki
StaticBody
####Inherits: PhysicsBody ####Category: Core
Brief Description
PhysicsBody for static collision objects.
Member Functions
- 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
Description
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.