Closed benwiley4000 closed 7 years ago
👍 feel free to share any comments if you have them! Thanks
Hey, if you check the latest commit I changed how orientation works - you now pass it a direction vector instead of an angle. Let me know if you have any comments!
Bonus, now the controls are a lot more fluid and you can hold down multiple arrow keys at once
This implements Zelda-ish player and camera controls, where WASD can be used to move the player, and the mouse can be used to change the view angle and change the forward direction.
Everything works except for making sure Pacman is oriented toward the view direction. Right now he just orients in respect to the world like in the Pacman game.
I'm not sure how to solve this one. Is there a way to get the proper angle using the up vector and the forward direction, or do we need more?