Making a fire hose

So I’ve been trying to make a sort of fire hose for around two weeks, the idea is that each player has its own hose and they have to clear the nearby fires. The idea is that the hose has a max length and when the players reach that length they cannot go further.

The issue is that I cannot find a way to make a hose that collides with walls and doesn’t make the player fly across the world.

I tried BallSocketConstraint which sort of works but they are very messy and glitch the player, I also tried rope constraints which don’t have collisions and the final thing i did was try SmartBone2 which did not solve the problem either.

The best solution I can think of would be a string constraint with collisions but I don’t think that’s possible

Any help is appreciated and thank you all so much!

1 Like

Perhaps instead of attaching directly to a player it is attached to an invisible part which is following the player moving via align position.

You could also modify the density of the parts and also the resitutiom and friction torque of the socket constraints.

4 Likes

That does work very well, but how can I make the player not able to go further if the hose is at max lenght
https://streamable.com/5ga3kb

2 Likes

Probably on heartbeat just CFrame teleport them back.

Or you can do a limited drag system after they step 10 studs away then they drop the hose.

There is also align position with applying a reaction force property I believe you can take a look into it.

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.