I’m looking at ConvexConvexDistanceQueries and I’m examining public static unsafe Result ConvexConvex(
float3* verticesA, int numVerticesA, float3* verticesB, int numVerticesB,
MTransform aFromB, PenetrationHandling penetrationHandling). How does the PenetrationHandling changed the compuation of the distance?
Thanks a lot.
Exact3D - does EPA if necessary
DoNotCompute - no EPA, so if the shapes intersect or nearly intersect, the results will be inaccurate.
The intention of DoNotCompute is for cases like triggers, where you only want to know whether two shapes are touching and don’t need any other information like the distance to separate them. However, it looks to be unused, so it’s probably not tested and may not work correctly 
1 Like