The result point is a pair of the closest points of collision geometries detected by a collision detector. This holds relative closest points for each collision geometry and the amount of the overlap.

Variables

depth:Float

The amount of the overlap. This becomes negative if two geometries are separate.

id:Int

The identification of the result point.

position1:Vec3

The first collision geometry's closest point.

position2:Vec3

The second collision geometry's closest point.