Problem with softbody and complex character with submeshes - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Softbody (https://obi.virtualmethodstudio.com/forum/forum-12.html) +--- Thread: Problem with softbody and complex character with submeshes (/thread-4166.html) |
Problem with softbody and complex character with submeshes - JohnOrzone - 11-04-2024 Hi I am having trouble rigging my character that has a bunch of submeshes(internal organs in this case). I manage to get other simpler meshes to work properly with softbody but something is breaking when I do it with my complex character. Going by the "Elastic character" tutorial does not really apply as the elastic character only has one main mesh. I will provide some screenshots. I have the default ObiSolver component on the "FemaleBody" Object. This is a medical app btw. RE: Problem with softbody and complex character with submeshes - josemendez - 12-04-2024 (11-04-2024, 11:09 AM)JohnOrzone Wrote: Hi Hi John, You can only generate blueprints out of a single mesh, with one main sub mesh. A workaround for this is to generate your blueprint out of a version of you model that has just one submesh (it is only used for generating particles and it's not going to be rendered anyway, so no point in having multiple sub meshes), then use multiple ObiSoftbodySkinners to bind all the organs to the resulting blueprint. See: http://obi.virtualmethodstudio.com/manual/6.3/softbodyskinner.html RE: Problem with softbody and complex character with submeshes - JohnOrzone - 18-04-2024 Thank you, I understand. Is it possible to change the scale at runtime? I want to scale down a sphere until it dissapears. RE: Problem with softbody and complex character with submeshes - josemendez - 18-04-2024 (18-04-2024, 11:01 AM)JohnOrzone Wrote: Thank you, I understand. Hi John, Unlike translation and rotation, scaling does not maintain distances between points. For this reason it can only be used on rigid objects. You can however change the scale of the ObiSolver component, which will scale the entire simulation space down. This may or may not be enough for your use case, eg. if there's more than one actor managed by the solver they will all be scaled towards the solver's origin. kind regards, RE: Problem with softbody and complex character with submeshes - JohnOrzone - 18-04-2024 Ok thanks for quick reply! I have some spheres in a bowl and I need to be able to make them one by one become smaller to eventually dissapear completely. Is there no way of doing this? Scaling everything at once does not work since I have to do them one at a time. Thanks for all the support! RE: Problem with softbody and complex character with submeshes - josemendez - 18-04-2024 (18-04-2024, 01:08 PM)JohnOrzone Wrote: Ok thanks for quick reply! No, since changing the size of an object changes the rest distance between its particles. This requires recalculating all constraints which is a really expensive operation (done when you Generate() the blueprint, either in the editor or programmatically). Same applies to ropes, cloth, and all kinds of deformable objects. kind regards, |