I'm trying to animate a floor with gsap, already having an animation on the camera (by moving the mouse) but curiously it creates a glitch.
I do not understand why.
If I move a 3d object independently it shouldn't give any problems with the camera. Right?
I don't understand why in the first section everything works, passing to the second one, however, the animation restarts from the color set via css. Also when you go back the animation breaks.
Three.js and GSAP conflict animation
in GSAP
Posted
I'm trying to animate a floor with gsap, already having an animation on the camera (by moving the mouse) but curiously it creates a glitch.
I do not understand why.
If I move a 3d object independently it shouldn't give any problems with the camera. Right?
Thanks for your help.
See the Pen OJZagOK by DanyIdas (@DanyIdas) on CodePen