Instance Property

collision

The collision component for the model entity.

Declaration

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.