struct

CP::ContactPointSet

Inherits Struct / Value / Object

A struct that wraps up the important collision data for an arbiter.

Constructors

new(points : Slice(ContactPoint), normal : Vect)
Source

Instance methods

count

The number of contact points in the set.

Source
normal

The normal of the collision.

Source
points

The contact points (at most 2).

Source

Nested types