23 const glm::vec3& halfExtents = glm::vec3(0.5f));
void setHalfExtents(const glm::vec3 &halfExtents)
Sets the half extents of the box.
~BoxCollisionComponent() override=default
BoxCollisionComponent(Scene *scene, entt::entity entity, const glm::vec3 &halfExtents=glm::vec3(0.5f))
Constructs a BoxCollisionComponent.
btCollisionShape * createShape() override
Creates the Bullet collision shape. Must be implemented by derived classes.
glm::vec3 getHalfExtents() const
Gets the half extents of the box.
CollisionComponent(Scene *scene, entt::entity entity)
Constructs a CollisionComponent.
A scene is the overarching structure which can spawn actors.
Log category system implementation.