Hi Ricardo,
Glad to hear setting the layer values made it work!
As for the GSAP issue, what you can do is define an onUpdate
callback and call viewer.requestRender() from there. Here’s what I mean:
gsap.to(sphere.scale, { x: 3, duration: 1, repeat: '-1', yoyo: true, onUpdate: () => {
viewer.requestRender()
});
Not exactly sure what parameters the onUpdate callback should have, but I’m sure you’ll find out in their documentation. So basically what this does, is define a callback function which GSAP will be calling each time the animation values update (probably once per frame) and that’s when you want to signal the viewer that you would like it to re-render