Fixed angle movement

Hello, I want to implement this effect now, fix a view at any location on the model, and then press the up and down left and right keys to move the model along a fixed angle. This effect is good, but there is no good example. Thank you

What have you tried so far?

camera.position.set( camera.position.x, camera.position.y, camera.position.z - 2 );,, - 2 );

I can’t really understand what you are trying to do from that. Could you try making a working example using codepen or jsfiddle?

Simply put, it is to use three to implement the ground walking function, or roaming function
You can’t upload videos here. If you can upload videos, you’ll see them at once

Are any of these controls suitable?