Animate two properties on an object independently

Hello!

I have a node and want to trigger multiple animations on them (each on a different property).
They will not start at the same time or end at the same time and are triggerend by various user inputs. Meaning they are not always at the same offsets.

In this playground i have a rough copy of our setup.

What is the most important for me is to know when each of the two animations is finished via some kind of callback.

I can’t wrap my mind around how that should work at the moment in babylon animations?

Thanks!
Matthias

I believe you want scene.beginDirectAnimation. See https://www.babylonjs-playground.com/#ER5QRX#3. Hope this helps.

Looks good!

Thanks!