CP::ContactPointSet::ContactPoint
Inherits Struct / Value / Object
Contains information about a contact point.
Constructors
new(point_a : Vect, point_b : Vect, distance : Number)
SourceInstance methods
distance
Penetration distance of the two shapes. Overlapping means it will be negative.
This value is calculated as (point2 - point1).dot(normal) and is ignored by Arbiter#contact_point_set=.