enum

Flock::Collision::Shape3D

Inherits Enum < Comparable < Value < Object

The 3D collider shapes. Collider3D interprets its fields per this tag.

Constants

Sphere = 0
Box = 1
Capsule = 2

Instance methods

box?

Returns true if this enum value equals Box

Source
capsule?

Returns true if this enum value equals Capsule

Source
sphere?

Returns true if this enum value equals Sphere

Source