I am trying to make a system where you can click+hold on a part to drag that part to another part in-game. Both parts are connected by a rope constraint. The use I’m going for is to be able to drag a gas pump hose to your vehicle. When you click the hose to pick it up, you will be able to drag it over to the gas intake on your vehicle. When the hose and the intake collide, they will connect.
I’ve tried scripting some click detectors, so when you click the gas hose, it would “unlock” the hose, allowing you to drag it to the vehicle. That didn’t work, but I’m thinking I just did it wrong
This is the first time I have ever done something like this, and I’m absolutely clueless. After looking through the developer hub, I’m still confused as to how I would be able to achieve my goal.
Does anyone have any tips?
Thanks