I am trying to detect an intersection by using a raycast. My current problem is that I am not sure about my raycast aiming into the desired direction. So my general question is: Is there a way to make a raycast visible? And if so: How is it done? This would help me a lot.
Michael
Why dont you draw a line from your origin to the direction of the ray.
To be more specific (using r83):
Codepen at: https://codepen.io/anon/pen/evNqGy