BEPUphysics.CollisionTests.CollisionAlgorithms.MPRToolbox.AreShapesOverlapping C# (CSharp) Метод

AreShapesOverlapping() публичный статический Метод

Determines if two shapes are colliding.
public static AreShapesOverlapping ( ConvexShape shapeA, ConvexShape shapeB, RigidTransform &transformA, RigidTransform &transformB ) : bool
shapeA BEPUphysics.CollisionShapes.ConvexShapes.ConvexShape First shape in the pair.
shapeB BEPUphysics.CollisionShapes.ConvexShapes.ConvexShape Second shape of the pair.
transformA BEPUutilities.RigidTransform Transformation to apply to shape A.
transformB BEPUutilities.RigidTransform Transformation to apply to shape B.
Результат bool
        public static bool AreShapesOverlapping(ConvexShape shapeA, ConvexShape shapeB, ref RigidTransform transformA, ref RigidTransform transformB)
        {
            RigidTransform localTransformB;
            MinkowskiToolbox.GetLocalTransform(ref transformA, ref transformB, out localTransformB);
            return AreLocalShapesOverlapping(shapeA, shapeB, ref localTransformB);

        }