Simpler tween API

@inteja hit play, it also doesn’t work for me when fresh loading the PG url. But the script dependency loads and executes well after hitting play!

I guess: the gsap module incldues defaults for FPS, frames, loop mode, and easing. It is ambiguous to me whatever the frames property points to, as well as from and to whereas the GSAP documentation is crystal-clear. any is not well typed and I can’t work with that. And it also is explicitly not creating a Babylon object that needs to be managed and destroyed. It’s animating the properties of a Babylon object without any input on the lifecycle or other properties. That’s what I mean by being a simpler API.

Let me call scene.getNodeByName('myNodeName').fromTo({x: 0}, {x: 1}) and I would be happy.

1 Like