I have a raycast set up like this:
if (raycasting)
{
if (Physics.Raycast(raycastEmit, transform.TransformDirection(Vector3.left) * 10, Mathf.Infinity))
{
print("Something Here");
Debug.DrawRay(raycastEmit, transform.TransformDirection(Vector3.left) * 10, Color.red);
}
}
And would like to know how to get Debug.DrawRay to draw the exact ray (infinite distance), is there a way to do this?