Collision resolution data.
: GameObj The first game object in the collision.
: GameObj The second game object in the collision.
: number The length of the displacement.
: boolean If the collision is resolved.
get (): Vec2 The displacement source game object have to make to avoid the collision.
()
=> Collision Get a new collision with reversed source and target relationship.
()
=> boolean If the 2 objects have any overlap, or they're just touching edges.
()
=> boolean If the collision happened (roughly) on the left side.
()
=> boolean If the collision happened (roughly) on the right side.
()
=> boolean If the collision happened (roughly) on the top side.
()
=> boolean If the collision happened (roughly) on the bottom side.
()
=> void Prevent collision resolution if not yet resolved.