I want to handle gltf animation on click. I want to handle using reactjs but I cant able to get code sample where you can load gltf file and handle animation on button click using animation mixer. Can I get any sample code?
How about using the following example as a code template:
The asset is an animated, it’s in the glTF format and you can control the animations over a UI.
Thanks for updating. Can you tell me how to do it in react.js? because I cant do it in react. May be due to wrong packages?
Sorry, I’m not familiar with React.