I'm not quite sure about the syntax, and the result is I was able to load the gltf and move it in certain directions, but not able to zoom in and out. Wonder how to wrap this with aframe-react syntax, thanks!
I tested this orbit-control component with aframe, and it works, here is the code for reference:
I'm using aframe-react to build a react component to load gltf assets and with orbit-control functionalities(Zoom, rotate..), so I used this https://github.com/supermedium/superframe/tree/master/components/orbit-controls component, here is my code:
I'm not quite sure about the syntax, and the result is I was able to load the gltf and move it in certain directions, but not able to zoom in and out. Wonder how to wrap this with aframe-react syntax, thanks! I tested this orbit-control component with aframe, and it works, here is the code for reference: