CollisionArena class final

A sweep-and-prune collision arena, run once per tick.

Registered colliders are broadphased with a sort-and-sweep over their AABBs to produce candidate pairs, which are then narrowphased against their actual shapes to power the node signals.

Constructors

CollisionArena({IntersectionEngine? engine})

Properties

engine → IntersectionEngine
Used for narrowphase intersection tests.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(ColliderNode collider) → Cleanup
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
process() → void
remove(ColliderNode collider) → void
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited