Instance Property


The collision component for the model entity.


var collision: CollisionComponent? { get set }

See Also

Detecting Collisions

struct CollisionComponent

A component that gives an entity the ability to collide with other entities that also have collision components.

enum CollisionEvents

Events associated with collisions.

protocol HasCollision

An interface used for ray casting and collision detection.