Function: detectPolygonFacesCollision()
detectPolygonFacesCollision(
facesA,facesB):PolygonFacesContact|null
Defined in: physics/collision/polygon-faces-collision.ts:257
Detects a collision between two convex polygons, given as world-space PolygonFaces, using the separating axis theorem with reference/incident face clipping.
Parameters
facesA
The first polygon's world-space vertices and normals.
facesB
The second polygon's world-space vertices and normals.
Returns
PolygonFacesContact | null
A PolygonFacesContact if the polygons overlap, otherwise
null.