Hi, I’m trying to make a 3D game with a fixed top down view at a 60 degree angle. I want the player object to be able to run in all 8 directions and face each direction. So if you were to press “W” the player would run forward and “S” would make them run backward and face the opposite direction. How would I go about doing this. What I have tired so far just makes the player object turn and then all the inputs get reversed. Like if I press “S” the character faces the opposite direct and walks backwards.
How can I code a setup like this? Any help would be appreciated!
Post your code, and someone can give you a suggestion on how to sort things out. Sounds like you need global movement rather than local movement. As it stands, the question is too general to give a specific answer.
– robertbu