Can't get softbody to work on custom meshes - 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: Can't get softbody to work on custom meshes (/thread-3347.html) |
Can't get softbody to work on custom meshes - Brainiac - 06-03-2022 Hello! I'm trying to use Obi Softbody's system on some of my custom models. I've followed the setup steps in the documentation, as well as a video I found on YouTube. I'm not 100% sure what I'm doing wrong, I think I'm not setting the blueprints correctly.. What I'm doing is this: I import the model, set make it readable and writeable. Then I create a new blueprint, attach the model to the input mesh and click the generate. After that, I create the softbody object via the editor menu button. I attach the mesh to the SkinnedMeshRenderer and drop a material. Then I attach the blueprint, and physics material. Finally I click on the "bind skin" button. This is what it looks like in real time: With particles rendering: https://i.imgur.com/XBkOppN.mp4 Without particles rendering: https://i.imgur.com/lzQ0W3w.mp4 This is the error I'm getting when running the Unity scene: Quote:Mesh.SetBoneWeights() failed: Vertex 521 has zero weights. I'd appreciate your help with this. Thanks! RE: Can't get softbody to work on custom meshes - josemendez - 08-03-2022 Hi there! This looks like no skinning at all is taking place. Could you share your mesh by sending it to support(at)virtualmethodstudio.com, so that I can take a look? Thanks! RE: Can't get softbody to work on custom meshes - josemendez - 14-03-2022 Hi, Just tried to generate a softbody using the mesh you provided, but couldn't reproduce the issue described here. I'm attaching a video showing the setup steps: |