Hi all! I had an idea that i wanted to try implement in my app but not sure about the best way to go about it. I want to try and connect one object (lets call it A) to another object (lets call it B) by an invisible rope. A should then be able to drag B behind it. Both these objects have collision and B despite being dragged can also move around so if B were to get stuck or try and move away from A the rope should snap and the objects will be independent again. Ideally I’d like to avoid using actual physics in favour of a purely logic/mathematical approach. Problem is I kinda suck at math I’m going to continue to crack at it myself but would appreciate any help or advice you can provide. Thanks!
Edit: Decided to add a crude drawing of what I described above