Tugboat can hold sinking ship up - problem with movement

I’m having a problem with the sinking of my ship, on a game I’m running named Sunk. When a tugboat goes under a mast or something that has collision, it can hold the sinking ship and keep it up the entire round until the game ends. If the tug lets go, the ship instantly catches up to where it would’ve been. I’ve struggled with this problem for a while now and I have looked at so many ways to fix it:

Sinking Ship: Sunk v2 - Roblox (you can check for yourself here. You can get a tug in the “BC LINE” room.

This is how the ship essentially functions:
image

How a tugboat holds the sinking ship up;

Any help would be majorly appreciated. Thank you!

3 Likes

I’m not sure I fully understand your dilemma. Let me attempt to clarify:

The goal is to get the tugboat to be able to hold a sinking ship in place?

No, the complete opposite. Everytime someone flies into the ship or the tugboat goes under a mast or object of the ship, it moves the ship or prevents it from sinking (holding it up).

Apologies, I’m not the best at explanations for this sort of thing.

I got you. And this is undesirable behavior?

Do the ships need to be able to crash into one another? Could you try different collision groups?

(Your fine man, everyone interprets things differently.)

I just want the sinking ship (ship1 as I’ll refer to it as) to sink without any interference. If someone flies into it with admin commands or the tugboat drives into it, the ship moves. And if the tugboat manages to get under a part during the sinking, it can hold ship1 from sinking at all, and I don’t want that to happen.

I want the ship to sink the way it’s meant to where nothing that hits it will affect the way it sinks.

I don’t want the ship to change its position at all when hit by something.

I would then give the sinking ship! its own collision group. And set the group to not collide with any other groups you don’t want it to collide with. That should solve the issues.

Wouldn’t that mean the tugboat would go right through the ship?

Yes, it would not allow them to physically touch/collide.

That’s just going to form another problem. With the way it currently is, if the tugboat touches the ship, the ship shakes/moves or can get stuck. I want it so that if the tugboat touches the ship, the ship forcibly stays on its exact sinking angles and such. I don’t want anything to change on it. But I still want the tugboat to be able to collide with the ship with no change on how the ship sinks, if that makes sense sorry.

I want it to always stay in its sinking position.

You can test the matter yourself on the game if you wish.

Ok, then you need to probably anchor the sinking ship model and make it move using a tween or custom script. Then the part won’t be affected by the physics engine.

The tugboat would just smack into it and bounce off while the sinking ship wouldn’t budge.

That’s practically what I want to do, but I don’t know how I’m going to do it lol

1 Like