BEPUphysics.CollisionTests.CollisionAlgorithms.GJK.GJKToolbox.ConvexCast C# (CSharp) Метод

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

Sweeps a shape against another shape using a given sweep vector.
public static ConvexCast ( ConvexShape sweptShape, ConvexShape target, Vector3 &sweep, RigidTransform &startingSweptTransform, RigidTransform &targetTransform, RayHit &hit ) : bool
sweptShape BEPUphysics.CollisionShapes.ConvexShapes.ConvexShape Shape to sweep.
target BEPUphysics.CollisionShapes.ConvexShapes.ConvexShape Shape being swept against.
sweep Vector3 Sweep vector for the sweptShape.
startingSweptTransform BEPUutilities.RigidTransform Starting transform of the sweptShape.
targetTransform BEPUutilities.RigidTransform Transform to apply to the target shape.
hit BEPUutilities.RayHit Hit data of the sweep test, if any.
Результат bool
        public static bool ConvexCast(ConvexShape sweptShape, ConvexShape target, ref Vector3 sweep, ref RigidTransform startingSweptTransform, ref RigidTransform targetTransform,
                                  out RayHit hit)
        {
            return ConvexCast(sweptShape, target, ref sweep, ref Toolbox.ZeroVector, ref startingSweptTransform, ref targetTransform, out hit);
        }

Same methods

GJKToolbox::ConvexCast ( ConvexShape shapeA, ConvexShape shapeB, Vector3 &sweepA, Vector3 &sweepB, RigidTransform &transformA, RigidTransform &transformB, RayHit &hit ) : bool