helecopterboy

1 answer · asked · Lesson: Using Raycasts and Bullet Hole Textures · Course: Fundamentals of Weapon Mechanics in Unity

my raycast was not showing

my raycast was not showing
  • crew
    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.