[SOLVED] How to stich rope to the center of a softbody surface - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html) +--- Thread: [SOLVED] How to stich rope to the center of a softbody surface (/thread-3906.html) Pages:
1
2
|
RE: [QUESTION] How to stich rope to the center of a softbody surface - josemendez - 26-06-2023 (23-06-2023, 05:17 PM)eduardoseitz Wrote: Of course, here it is: https://drive.google.com/file/d/1KUZjybfMblVDuDK6c1uKFmyFMSv5i8RV/view?usp=sharing Hi, Both issues stem from serialization problems. For some reason, the skin weight values in your ObiSoftbodySkinner component are all zero. Go into prefab mode, remove and re-adding the ObiSoftbodySkinner component, then click "Bind Skin". That should reset the skin weight values. As for the stitch constraint, it's not getting serialized due to the bag being a prefab. This is a bug in Obi, because the list of stitches is not a serializedProperty, hence prefab handling is not automatic. I've fixed this, replace PunchingGame/Assets/Obi/Editor/ObiStitcherEditor.cs with the one you'll find attached to this post, one you do this added stitches should not disappear in play mode. kind regards, RE: [QUESTION] How to stich rope to the center of a softbody surface - eduardoseitz - 29-06-2023 (26-06-2023, 07:14 AM)josemendez Wrote: Hi,Thank you very much. In the end I had to unpack the prefab even if your script, which I don't mind, but everything is working now. I appreciate your help. |