transform.forward doesn't seem to be right?

Just learning Unity so this could be me being clueless.

transform.forward doesn’t seem to be pointing the right way? I don’t really know how to explain so I’ll post pictures that seem to show it better.

Drawing a line with Debug.DrawLine(transform.position, transform.forward, Color.yellow); to show.

66670-unity.jpg

No idea what’s happening with this and any help would be much obliged.

Just stumbled upon this…

DrawLine does not “hate” transform.forward.

The second parameter for DrawLine is an end vector.

The second parameter for DrawRay is a direction vector.

2 different things.

Apparently DrawLine hates transform.forward so it’s best to use DrawRay instead