Good afternoon!
Please tell me, in my scene there is a cable with a hook. It must raise to lower the fart. How to implement the cable, it must decrease and increase.
Thank you!
If you don’t need the rope to swing realistically, but only change length, then the easiest way is probably to just use a line-renderer to draw a line between the two points where the rope connects.
be careful, lowering the fart can be quite tricky to achieve.
but seriously, you might get away with the solution shown by Sebastian Lague in this video (~4:35), but if you need anything more complex than that, i.e. self-intersecting, than you’re underestimating the problem.
edit:
with this solution you can even try to do some limited but still pretty physical simulation.
if you need something robust, there are some sublime assets on the Asset Store doing all kinds of performant rope simulations.
I find leaning to one side will also help.
Do you have a video of the desired behaviour as I’m worried I could guess incorrectly.