How move a gltf model in threejs?
Solution 1:
It seems you are not using KeyboardState
correctly. The idea is to used the pressed()
method in order to verify if a certain key is pressed. You can also see at the following live example, that only the glTF
model is translated and not the entire scene (since the axes helper stays at the center).
https://jsfiddle.net/kd41ejua/1/