12-12-2022, 09:17 AM
(This post was last modified: 12-12-2022, 09:18 AM by josemendez.)
Hi Robert,
Unless you need torsion/twist simulation (imho a sausage has very little twisting motion to simulate) or you need to have a non-straight rest shape, you shouldn't need to use rods. Also, rods cannot be cut at runtime so that wouldn't help with your use case.
Dynamic attachments are meant for two-way coupling with rigidbodies, so they would be overkill in this case. You just need a rounded shape "glued" to the end of the rope, you can use the included utility script ObiRopePrefabPlugger to place prefabs at the start/end of the rope as well as plug the cut regions.
Yes, this will work. See the manual for more info on getting contact information at runtime and dealing with custom rope tearing:
http://obi.virtualmethodstudio.com/manua...sions.html
http://obi.virtualmethodstudio.com/manua...ropes.html
kind regards,
Unless you need torsion/twist simulation (imho a sausage has very little twisting motion to simulate) or you need to have a non-straight rest shape, you shouldn't need to use rods. Also, rods cannot be cut at runtime so that wouldn't help with your use case.
Quote:The weiner should have rounded ends attached to it
My Idea: Obi Particle Attachment with dynamic type?
Dynamic attachments are meant for two-way coupling with rigidbodies, so they would be overkill in this case. You just need a rounded shape "glued" to the end of the rope, you can use the included utility script ObiRopePrefabPlugger to place prefabs at the start/end of the rope as well as plug the cut regions.
Quote:My Idea: Use Rod instead of Rope, read about Bend Constraonts but can't find them in the packageYou'll find bend constraint settings in the ObiRope component. Global bend constraint settings are found in the ObiSolver component, inside the "Constraints" foldout.
Quote:The weiner has to be cuttable when it touches a knife
My Idea: Use Tear() method? - might only be applicable to rope and not rod though.
Yes, this will work. See the manual for more info on getting contact information at runtime and dealing with custom rope tearing:
http://obi.virtualmethodstudio.com/manua...sions.html
http://obi.virtualmethodstudio.com/manua...ropes.html
kind regards,