title: Best way to amplify the size of a RayCast
body: <p>I have drawn a circle on the floor. Everything that pass over that circle should be detected. The following code is working:</p>
  
  <pre><code>void Update () {
      RaycastHit hit;
      Ray landingRay = new Ray (transform.position, Vector3.up);
  
      // This debug does not seem to work:
      Debug.DrawRay (transform.position, Vector3.up * 50);
  
      if( Physics.Raycast(landingRay, out hit) ){
          Debug.Log("raycast is working!");
      }
  }
  </code></pre>
  
  <p>However, I think the RayCast is only at the center of the Sprite I have drawn (1), so it does not cover the whole circle (2):</p>
  
  <p><a href="https://i.stack.imgur.com/ximba.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ximba.png" alt="current and wanted raycasts"></a></p>
  
  <p>Is there a optimal way to perform this? Or should I just code several RayCast within the same script?</p>