Interface of a collision detector for narrow-phase collision detection.

Methods

detect(result:DetectorResult, geom1:Geometry, geom2:Geometry, transform1:Transform, transform2:Transform, cachedData:CachedDetectorData):Void

Computes the contact manifold of two collision geometries geom1 and geom2 with the transforms transform1 and transform2, and stores it to result. cachedData is used to improve performance of collision detection in some detectors.