Reply To: So I followed the instructions step by step and compared my script with yours, but the ray keeps pointing down instead of …

Forum Archive So I followed the instructions step by step and compared my script with yours, but the ray keeps pointing down instead of … Reply To: So I followed the instructions step by step and compared my script with yours, but the ray keeps pointing down instead of …

#24969
Jonathan Gonzalez
Participant

    One thing I did notice when looking at your script again is that you’re using “DrawLine” instead of “DrawRay”, they work a bit differently so that may be the reason why it appears that way. Use “DrawRay” and it should fix the issue. Either way the raycast is working properly, DrawRay is just for debugging purposes.