22-11-2020, 08:41 PM
(18-11-2020, 12:58 AM)Pheebau Wrote: Thanks for your reply which was helpful. I totally missed the Obi.ObiStitcher Class! My project requires quite a few hinges per model - therefore I was looking for a solution that would not be too empirical. I guess it is time to go and do some testing with it.
I haven't found the stitcher being used as part of the examples / tutorials but maybe in a different Obi product?
If there isn't a way to restrict certain axis, then it's going to be hard to come close to emulate a hinge.
Unfortunately my tests with ObiStitcher in trying to emulate some hinge of some sort have been underwhelming to say the least but I am not surprised as it was never made for this.
Even as a simple test, take the Barrels deformation demo scene and try and stitch 2 barrels together - no mater how I define the stich(es), the barrel will move and travel together without me even doing anything - similar to the dancing effect you can sometimes get with soft bodies in a scene
![Guiño Guiño](https://obi.virtualmethodstudio.com/forum/images/smilies/wink.png)
Also, I believe the only way to break a stitch is to disable it via the API. In my project, I need hinges to rotate on a single axis and break potentially - this is a physics game with soft bodies.
@josemendez Any recommendations / simulation config settings on making 2 soft bodies stitched together more still and not flickering / dancing?
@josemendez Last, how hard would it be to implement some hinge in Obi?