- You can do that using gsap and the coordinates from where the person is facing. When W is pressed you gsap to the desired coordinates. If mouse is used for camera you disable the gsap from W key.
2.Third-Person Camera
https://codepen.io/Fyrestar/pen/WNwMWZV?editors=0010