distance property

  1. @Double()
double distance
getter/setter pair

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

@cpFloat()
external double distance;