Baked VAT won't play

Happy holidays, everyone! I hope someone is around (and sober enough!) to read this.

I’m having trouble getting baked vertex animations to work. So I’ve tried to recreate the “VATManager with instances” PG, and my version doesn’t animate either. I guess that means I’m close to isolating the issue, but I’m out of ideas. Baking succeeds; the mesh’s bakedVertexAnimationManager has a texture; Its time is being updated; the instance’s instancedBuffer is set. What am I doing wrong? Babylon.js Playground

Thanks!

Hello!

The baked animation buffer has to have the exact name of “bakedVertexAnimationSettingsInstanced”, I just changed the name and it worked:

VAT on instance | Babylon.js Playground (babylonjs.com)

3 Likes