Class CapsuleColliderComponent

Inheritance Relationships

Base Type

Class Documentation

class CapsuleColliderComponent : public RigidBodyComponent

Collider component in the shape of a capsule.

Public Functions

CapsuleColliderComponent(Entity &owner, const JSON::json &data)
~CapsuleColliderComponent()
float getSideHeight() const
void setSideHeight(float s)
float getRadius() const
void setRadius(float r)
JSON::json getJSON() const

Get JSON representation of the component data needed to re-construct component from memory.

void draw()

Expose the component data with ImGui.