distance property

double distance
final

Penetration distance of the two shapes. Overlapping means it will be negative. This value is calculated as cpvdot(cpvsub(point2, point1), normal) and is ignored by cpArbiterSetContactPointSet().

Implementation

final double distance;