Hey there everyone!
Is it possible to animate gltf model on onClick event??
example, a cylinder on top a boxGeometry, on first click it goes to the end of the box and stops. On second click comes back to its initial position. Is it possible to do it with gsap or framer motion?? if yes what else do I need to keep in mind before starting to implement. I'm using R3F btw 
#animation on onClick event? | R3F
6 messages · Page 1 of 1 (latest)
Got it
One doubt is still in my mind, do I need to make 2 animations for that purpose??
or just 1 and reverse it on the second click >>?
you can sure use gsap or framer
Or you can make 1 keyframeTrack for animate the cyclinder from A -> B -> A