10-04-2019, 03:31 PM
(This post was last modified: 10-04-2019, 03:35 PM by josemendez.)
(10-04-2019, 01:36 PM)flamingo Wrote: Hello everyone
I am using Obi Rope for a crane simulation. However the rope doesn't react the way I want it to. I am using the lowest amount of particles which is 2. However we make it so we adjust the rope length, and every time I change the length, it adds particles and it looses the stiffness which makes the crane act weirdly because of the rope. Is there anyway I can make it so, it doesn't add more particles when I change the rope length via code? The attachment shows the way I have my ropes. and it's parameters.
Hi,
Why not changing the constraint length directly? The ObiRopeCursor component will automatically add particles at fixed intervals to keep sane mass sampling. However you can simply set the length of the distance constraint between both particles, no need to use the cursor. See:
http://obi.virtualmethodstudio.com/tutor...aints.html
Also, why use a particle simulator, then avoid using particles? Take a look at our Filo simulator, which is specifically designed to simulate cranes and cable-driven machinery (long ropes, huge mass ratios). I think it is a much better match for your use case. In case you think the same, we can swap a Filo license for your Obi one:
https://assetstore.unity.com/packages/to...tor-133620