my raycast was not showing

Forum Archive my raycast was not showing

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6157
    helecopterboy
    Participant

      my raycast was not showing

      #24980
      Jonathan Gonzalez
      Participant

        If you’re using “Debug.DrawRay” the raycast will only appear in the scene view. If you want to see it in your game you’ll need to use a line renderer or something similar. If you’re still not seeing it in the scene view, ensure that the range for the drawray matches the range of your actual raycast.

      Viewing 2 posts - 1 through 2 (of 2 total)
      • The topic ‘my raycast was not showing’ is closed to new replies.