duu Posted January 27, 2024 Posted January 27, 2024 I always use GSAP, and I appreciate it very much. Thank you. Now, I am facing a strange phenomenon. I have implemented a simple rotation control on a single object loaded in the most common setup (GSAP + Three.js) to control GSAP animations. However, when I execute it, I encounter a peculiar issue where the object both rotates and does not rotate, displaying these two states simultaneously. Here's a demo to replicate this phenomenon: What could be the problem here? And how can I resolve it? Please help.
Solution duu Posted January 27, 2024 Author Solution Posted January 27, 2024 The issue was caused by the rendering being processed twice. I've resolved it myself.
mvaneijgen Posted January 27, 2024 Posted January 27, 2024 Glad you've solved your issue! Rendering things twice sounds like you're working in React, if that is the case please read the following article https://gsap.com/react. Hope it helps and happy tweening! 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now