PhysicSphere .direction | The direction into which to sweep the sphere. |
PhysicSphere .layerMask | A Layer mask that is used to selectively ignore colliders when casting a capsule. Default Physics.DefaultRaycastLayers . |
PhysicSphere .maxDistance | The max length of the cast. Default Mathf.Infinity . |
PhysicSphere .origin | The center of the sphere at the start of the sweep. |
PhysicSphere .queryTriggerInteraction | Specifies whether this query should hit Triggers. Default QueryTriggerInteraction.UseGlobal . |
PhysicSphere .radius | The radius of the sphere. |