Entities with a RigidBody will be moved by the engine in FixedUpdate, and will respond to collisions.
Definition: rigidbody.h:12
bool isStatic()
Definition: rigidbody.h:31
Mode
Static Rigidbody do not move, and is unaffected by the physics engine. Dynamic RigidBody move and col...
Definition: rigidbody.h:17
@ Static
Definition: rigidbody.h:19
@ Dynamic
Definition: rigidbody.h:18
Mode mode
Mode of this rigidbody. Either Dynamic or Static.
Definition: rigidbody.h:24
RigidBody(Mode mode=RigidBody::Mode::Dynamic)
Definition: rigidbody.h:22
glm::vec3 velocity
Velocity of this rigidbody. Controlled by the Application as well as the Physics Engine.
Definition: rigidbody.h:25