ColliderCapsule

Inherits ColliderShape.

Variables

Name

Type

Description

base

Math::vec3

The capsule’s base in object-space.

tip

Math::vec3

The capsule’s tip in object-space.

radius

float

The sphere’s radius.

Notes

../../_images/collider_capsule.png

ColliderCapsule defines a capsule collider using the base and tip of the capsule in object-space, and the radius.