Class BoxColliderComponent

Inheritance Relationships

Base Type

Class Documentation

class BoxColliderComponent : public RigidBodyComponent

Collider component in the shape of a box.

Public Functions

BoxColliderComponent(Entity &owner, const JSON::json &data)
~BoxColliderComponent()
void setDimensions(const Vector3 &dimensions)
Vector3 getDimensions() const
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.