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

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

Determines if two shapes are colliding. Shape B is positioned relative to shape A.
public static AreLocalShapesOverlapping ( ConvexShape shapeA, ConvexShape shapeB, RigidTransform &localTransformB ) : bool
shapeA BEPUphysics.CollisionShapes.ConvexShapes.ConvexShape First shape in the pair.
shapeB BEPUphysics.CollisionShapes.ConvexShapes.ConvexShape Second shape of the pair.
localTransformB BEPUutilities.RigidTransform Relative transform of shape B to shape A.
Результат bool
        public static bool AreLocalShapesOverlapping(ConvexShape shapeA, ConvexShape shapeB, ref RigidTransform localTransformB)
        {
            return AreLocalShapesOverlapping(shapeA, shapeB, ref localTransformB.Position, ref localTransformB);
        }

Same methods

MPRToolbox::AreLocalShapesOverlapping ( ConvexShape shapeA, ConvexShape shapeB, System.Vector3 &originRay, RigidTransform &localTransformB ) : bool