Sam0505
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by Sam0505
-
-
I am trying to create two subsequent animations on the cube in react-three-fiber. But I want to run the second animation(animateY) after I finish the first animation(animate) and that's why I am using onComplete function for the same. But I am getting the desired results as both animations run simultaneously. I have shared the relevant code and output for the issue.
OnComplete not working as expected on react-three-fiber
in GSAP
Posted
Thank you. I am a new user and made a mistake understanding the syntax.
The reason I am not using sequencing is because this is just a test run and in future, I want to automate the animation process so I was trying to set a kind of recursion so that when I add more positions on my Vector3 array, more animations can be added automatically.
But I found a better way of doing that by using timeline.add().