CollisionComponent(Scene *scene, entt::entity entity)
Constructs a CollisionComponent.
A scene is the overarching structure which can spawn actors.
~SphereCollisionComponent() override=default
SphereCollisionComponent(Scene *scene, entt::entity entity, float radius=0.5f)
Constructs a SphereCollisionComponent.
btCollisionShape * createShape() override
Creates the Bullet collision shape. Must be implemented by derived classes.
void setRadius(float radius)
Sets the radius of the sphere.
float getRadius() const
Gets the radius of the sphere.
Log category system implementation.