14-11-2019, 10:23 AM
(This post was last modified: 14-11-2019, 10:24 AM by josemendez.)
(14-11-2019, 09:27 AM)manurocker95 Wrote: But I can't initialize the particles because there are multiple meshes. How do I do it?
You need to have a single source mesh that defines the overall shape of the entire softbody. Then, attach each individual skinned mesh renderer to it.
This approach is very powerful, because it allows you to completely decouple simulation and rendering: you can generate the softbody particles using one mesh, then attach any other meshes (that might be completely different in size and shape) to it.
For instance, think about a car model: you have the entire car made out of multiple meshes (wheels, glass panes, interior, chassis..). Then you have one single, simpler mesh that defines the overall car shape, from which you generate the softbody. Then skin all individual pieces to it, and you end up having a single softbody simulation driving the deformation of multiple objects.