#find direction of object in 3D
1 messages · Page 1 of 1 (latest)
1 messages · Page 1 of 1 (latest)
I need to know the direction of the player for my movement script. I want it so that when you press w it goes forward in the direction its facing. i dont know how to write it in code. i think I need to use transform.forward but i dont know how to.
thanks i had been searching but i hadnt come across this
Were you searching for ways to find the direction rather than searching for your actual problem?