Hi, I'm trying to animate my fish using the motionPath plugin so that they swim around in a circle. I'm not sure why my fish move randomly all over the place and pause for a second at certain co-ordinates when I'd like them to move in a regular pattern. Also, even though autoRotate is set to true, the objects don't rotate. Does anyone know what might be wrong? Or what coordinates I should use instead?
How to get a circular path with motionPathPlugin
in GSAP
Posted · Edited by Rawan1
Added CodePen
Hi, I'm trying to animate my fish using the motionPath plugin so that they swim around in a circle. I'm not sure why my fish move randomly all over the place and pause for a second at certain co-ordinates when I'd like them to move in a regular pattern. Also, even though autoRotate is set to true, the objects don't rotate. Does anyone know what might be wrong? Or what coordinates I should use instead?
See the Pen poLZxxm by rawanq8 (@rawanq8) on CodePen