06-06-2022, 07:45 AM
(This post was last modified: 06-06-2022, 07:46 AM by josemendez.)
(04-06-2022, 09:08 PM)Natty Wrote: Hi Jose,
Can you give me some tips on how to get the rope to be a little less elastic? And for the bobber to not rotate sideways and sort of "float" there unrealistically? I have tried increasing the Substeps, and I've messed around with the bobber's rb mass, but I can't figure it out. I also did increase both control point masses from 0.1 to 1 and played with that for a bit, I think it did help slightly, but I'm still struggling here.
https://streamable.com/cfeu7g
https://streamable.com/zlhhyf
Thank you!
Hi Natty!
There's a couple important issues with your setup:
1) In your first video I see you're using 25 (!) distance constraint iterations but only 6 substeps. This will dampen dynamics a lot, and cost a lot in terms of performance since your rope's constraints are being enforced a whooping 25x6 = 150 times per step.
Using 10-20 substeps and only 1 iteration would yield less stretchy rope that's both a lot more lively and a lot cheaper cheaper (10-20 updates instead of 150). As indicated in the manual, you should always prefer using substeps to iterations. Only use iterations to increase the relative importance of specific constraints.
2) Your solver is placed inside the fishing rod (which is rotated) and its gravity space set to self. This means the direction of gravity will rotate along with your rod which is definitely not what you want. Set the gravity space to world instead, to set gravity in world space instead of the rod's local space. This will get rid of the weird arc the rope does and the strangely rotated bobber.
See: http://obi.virtualmethodstudio.com/manua...olver.html
let me know if I can be of further help.
kind regards,