Interface: FaceSeparation
Defined in: physics/collision/circle-polygon-contact.ts:10
The face of a convex polygon (in the polygon's own local space) with the largest separation from a circle's local-space center, found by findClosestFace.
Properties
faceIndex
faceIndex:
number
Defined in: physics/collision/circle-polygon-contact.ts:21
The index of the face (and its normal) within the polygon's
vertices/normals arrays.
separation
separation:
number
Defined in: physics/collision/circle-polygon-contact.ts:15
The signed distance from the face to the circle's center, along the face's normal. Positive when the center is outside the face.