↧
Answer by pyro
From the script reference:// Draws a 10 meter long green line from the position // forward along the transform's z-axis. function Update () { var forward = transform.TransformDirection(Vector3.forward)...
View ArticleAnswer by Tolling87
The reason it would not show is that Debug.DrawRay does not draw anything when assigned the mathf.infinity. So remember when debugging, always assign values on it.
View ArticleAnswer by Geejayz
It could be something as simple as you don't have Gizmos turned on in the GUI. Hopefully given the dates above the OP has already resolved this. Just adding this as it turned out to be my issue.
View Article