Check it out: Keyboard input for controlling an animated character followed by an orbital 3rd-person camera. Use the WASD keys for controlling forward, left, backward, and right movements, respectively. Use the left and right arrow keys to control rotation around the Y axis, and the up and down arrow keys to look gently up and down. Clean classes, of which the classes Player, OrbitalCamera, and KeyboardInput can be easily used in your own project. Need on-screen joysticks for mobile? Use this.
Related Topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Can i use orbit control for 3rd person view camera? | 1 | 1814 | September 27, 2021 | |
Arrow keys in OrbitControls are moving left and right instead of rotating around object | 1 | 87 | March 28, 2024 | |
OrbitControls keyboard controls: rotate target instead of rotating around target | 2 | 1345 | November 4, 2020 | |
Third person controller with keyboard + joystick (No mouse) | 16 | 1384 | July 3, 2023 | |
Using and Animating Orbit Controls | 2 | 504 | December 20, 2022 |