public static AreShapesIntersecting ( |
||
shapeA | First shape of the pair. | |
shapeB | Second shape of the pair. | |
transformA | Transform to apply to the first shape. | |
transformB | Transform to apply to the second shape. | |
return | bool |
public static bool AreShapesIntersecting(ConvexShape shapeA, ConvexShape shapeB, ref RigidTransform transformA, ref RigidTransform transformB)
{
//Zero isn't a very good guess! But it's a cheap guess.
Vector3 separatingAxis = Toolbox.ZeroVector;
return AreShapesIntersecting(shapeA, shapeB, ref transformA, ref transformB, ref separatingAxis);
}
GJKToolbox::AreShapesIntersecting ( |