Hi Forum!!
How can I update the "from" values in fromTo() dinamically? Es:
gsap.fromTo(modelCoords,{
rotZ: -0.3,
rotX: 0.25,
rotY: rY,
}, {
rotZ: 0.5,
rotX: 0.8,
rotY: 3,
scrollTrigger:{
...
}
});
rotY is update in an animationFrame, so on trigger star I would that rotY starts from its instant value to 3.
Can you help me please?