2021年5月1日星期六

Can I move within a gltf model through keyboard events [closed]

I'm trying to implement an effect which is similar to FPS, i.e. using the mouse to control view point and WASD to move the camera in a model. Documentation shows a scene consisting of some objects rather than a gltf model. I have some trouble when I apply it to a model. In my codesandbox, it currently can't display anything. Where do I make mistakes? Is my keyboard event implementation correct? Thanks.

https://stackoverflow.com/questions/67347094/can-i-move-within-a-gltf-model-through-keyboard-events May 01, 2021 at 09:59PM

没有评论:

发表评论