Interpolate between different poses

When rotating position or scale vectors, the following fiddle shows how to do this with GSAP:

Notice that you don’t want to animate rotation with GSAP. The slerp method of the quaternion class is the preferred option for this. Or even better Quaternion.rotateTowards().

1 Like