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 | |
|---|---|---|---|---|
| Arrow keys in OrbitControls are moving left and right instead of rotating around object | 1 | 483 | March 28, 2024 | |
| Third person controller with keyboard + joystick (No mouse) | 16 | 2584 | July 3, 2023 | |
| On-Screen Joysticks, Character Animation, and Orbital 3rd-Person Camera | 4 | 1559 | January 3, 2022 | |
| Can i use orbit control for 3rd person view camera? | 1 | 2068 | September 27, 2021 | |
| Rotating viewport in threejs on keyboard like in threejs holding left mouse's key event | 9 | 124 | May 10, 2025 |