← API Reference Struct

asge::game::components::Rigidbody

Marks an entity as physics-driven: subject to gravity and collision-resolution push-out, as opposed to entities that merely have a Velocity (e.g.

#include <Rigidbody.hpp>

scripted movement) without being a physics body.

Public Attributes

#float m_Mass {1.0f}
#bool m_AffectedByGravity {true}