Thanks for the quick response Zach. I am using Three.js but I was hoping to use GSAP to accomplish this. I've used the code below to tween SVG's and was wondering if I could do the same with an Blender mesh imported into Three.js.
gsap.registerPlugin(MotionPathPlugin);
gsap.to("#rect", {
duration: 5,
repeat: 12,
repeatDelay: 3,
yoyo: true,
ease: "power1.inOut",
motionPath:{
path: "#path",
align: "#path",
autoRotate: true,
alignOrigin: [0.5, 0.5]
}
});