ColliderSphere

Inherits ColliderShape.

Variables

Name

Type

Description

center

Math::vec3

The sphere’s center in object-space.

radius

float

The sphere’s radius.

Notes

../../_images/collider_sphere.png

ColliderSphere defines a spherical collider using a center position in object-space and a radius.