BEPUphysics.BroadPhaseEntries.StaticGroup.ConvexCast C# (CSharp) Метод

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

Casts a convex shape against the collidable.
public ConvexCast ( ConvexShape castShape, RigidTransform &startingTransform, System.Vector3 &sweep, bool>.Func filter, RayHit &hit ) : bool
castShape BEPUphysics.CollisionShapes.ConvexShapes.ConvexShape Shape to cast.
startingTransform BEPUutilities.RigidTransform Initial transform of the shape.
sweep System.Vector3 Sweep to apply to the shape.
filter bool>.Func Test to apply to the entry. If it returns true, the entry is processed, otherwise the entry is ignored. If a collidable hierarchy is present /// in the entry, this filter will be passed into inner ray casts.
hit BEPUutilities.RayHit Hit data, if any.
Результат bool
        public override bool ConvexCast(ConvexShape castShape, ref RigidTransform startingTransform, ref Vector3 sweep, Func<BroadPhaseEntry, bool> filter, out RayHit hit)
        {
            RayCastResult result;
            bool toReturn = Shape.ConvexCast(castShape, ref startingTransform, ref sweep, filter, out result);
            hit = result.HitData;
            return toReturn;
        }

Same methods

StaticGroup::ConvexCast ( ConvexShape castShape, RigidTransform &startingTransform, System.Vector3 &sweep, RayHit &hit ) : bool