Class CapsuleColliderComponent¶
Defined in File capsule_collider_component.h
Inheritance Relationships¶
Base Type¶
public RigidBodyComponent(Class RigidBodyComponent)
Class Documentation¶
-
class
CapsuleColliderComponent: public RigidBodyComponent¶ Collider component in the shape of a capsule.
Public Functions
-
~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.
-