public abstract int LinearSweep(Vector3 motion, SweepFlags flags, ICollection <SweepQueryHit> collection, SweepCache cache = null);
public abstract SweepQueryHit LinearSweep(Vector3 motion, SweepFlags flags, Predicate <SweepQueryHit> callback = null, SweepCache cache = null);