Animation of falling ice cubes (SPS, AbstractMesh, Mesh)

Hey :))

I would like to realize an falling ice cube animation. I created three simple ice cubes with blender and loaded it as *.glb into babylon. The SPS system is also running.

At the moment I’m not able add this model into the SPS (eg. SPS.addShape(myGltfModel)) because it’s an AbstractMesh.

Is it possible to generate a real Mesh from an AbstractMesh? And in general is the SPS able to handle something like this or is there a better way?

Best Regards

Hi @Oliver and wlecome to the forum

Can you provide a Playground so I can take a look?