BEPUphysics.CollisionTests.CollisionAlgorithms.MPRToolbox.GetLocalOverlapPosition C# (CSharp) Method

GetLocalOverlapPosition() public static method

Gets a point in the overlapped volume between two shapes in shape A's local space.
public static GetLocalOverlapPosition ( ConvexShape shapeA, ConvexShape shapeB, RigidTransform &localTransformB, System.Vector3 &position ) : bool
shapeA BEPUphysics.CollisionShapes.ConvexShapes.ConvexShape First shape in the pair.
shapeB BEPUphysics.CollisionShapes.ConvexShapes.ConvexShape Second shape in the pair.
localTransformB BEPUutilities.RigidTransform
position System.Vector3 Position within the overlapped volume of the two shapes in shape A's local space, if any.
return bool
        public static bool GetLocalOverlapPosition(ConvexShape shapeA, ConvexShape shapeB, ref RigidTransform localTransformB, out Vector3 position)
        {
            return GetLocalOverlapPosition(shapeA, shapeB, ref localTransformB.Position, ref localTransformB, out position);
        }

Same methods

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