I’m trying to imagine how clothes would work. I know a static mesh can be attached to a bone on a skeleton, but I’m thinking more like one skeleton morphing multiple meshes at once, so say a shirt would move around with a body properly. Maybe this isn’t the right way to approach a problem like this.
I didn’t find any documentation/examples of such a thing, which is why I’m not sure if it is possible.
Thanks for answering!
Hello and welcome to the Babylon community!
Cloth animation is a pretty vast area in computer graphics, and there is more than one way that it can be achieved. Usually, you can run a cloth simulation in a software like Blender ( there are quite a few tutorials about that: Blender Tutorial - Cloth Simulation | Advance Simulation | Blender 2.9 - YouTube, Cloth Simulation And Sewing | Blender 3.0 Tutorial - YouTube ), bake the results, export that to a GLB and load in Babylon.
You can do realtime simulation with soft bodies :
But I’m not sure it will be efficient on the web.
You can have multiple meshes attached to a skeleton. Check this example:
Is it possible to use morph meshes and then use them for skinning @Evgeni_Popov ?