public bool SweepTest(Vector3 direction, out RaycastHit hitInfo) { QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal; float maxDistance = float.PositiveInfinity; return(Rigidbody.INTERNAL_CALL_SweepTest(this, ref direction, out hitInfo, maxDistance, queryTriggerInteraction)); }
public bool SweepTest(Vector3 direction, out RaycastHit hitInfo) { float maxDistance = float.PositiveInfinity; return(Rigidbody.INTERNAL_CALL_SweepTest(this, ref direction, out hitInfo, maxDistance)); }
public bool SweepTest(Vector3 direction, out RaycastHit hitInfo, [DefaultValue("Mathf.Infinity")] float maxDistance, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction) { return(Rigidbody.INTERNAL_CALL_SweepTest(this, ref direction, out hitInfo, maxDistance, queryTriggerInteraction)); }
public bool SweepTest(Vector3 direction, out RaycastHit hitInfo, [DefaultValue("Mathf.Infinity")] float maxDistance) { return(Rigidbody.INTERNAL_CALL_SweepTest(this, ref direction, out hitInfo, maxDistance)); }