Boats becoming unstable when a character jumps on it

Hi, i’m currently experimenting with boats for a small game. Ive been having this really problematic issue with boats however.
When making most parts massless besides the root, it will stay on top of the water and acts how it needs to be. But when players jump while on the boat, it rocks the boat way too much.

When the boat has all of its parts with massless off, it just sinks

I don’t know know how to make the boat stay on the water but at the same time make it not react so weirdly with character jumping.

I’ve noticed that the boat only does this when the network owner is the server, but I can’t just make the network owner the player, as other players can still make the boat rock heavily.

I’ve tried reading this post: Boat Unstable when player walks over it - #2 by Scottifly - but not much help.

Any ideas on what I could do?

BoatIssue-ezgif.com-optimize

image|273x500
(All welds are just connecting to the Root)

1 Like

Have been messing around with the physics in roblox as it relates to vehicles.
The solution might be as simple as creating an invisible transparent part to change the center of gravity on your boat. A lower center of gravity should in theory produce a more stable boat.

You can adjust the density of this part under CustomPhysical properties. The lower and heavier the part is in relation to the boat, the lower the center of gravity will be. Extreme values will produce extreme results.

Other solutions might entail using body gyros to stabilize the boat.

A real boat uses ballast at the bottom of the hull to lower the center of gravity and stabilize it in the water. This principle might apply here.

2 Likes

So basically exactly what I suggested in the linked post using a ballast Part underneath the boat?
It increases the model’s mass to make it less susceptible to player movements on the boat, but by decreasing the Density of the floating Part (making the entire boat ‘density’ less than water) it allows the boat to float.

I didn’t use the ballast idea since it still was a bit rocky, maybe I needed to do it more than 20 studs. But I used body gyros to stabilize the boat, and it worked well. I’ll see if I can try doing the ballast again.

The ballast can be much lower than the bottom surface of the boat, as long as it stays in the water to calculate for bouyancy.
It can be CanCollide false so it doesn’t hit anything below the boat, and Transparent so it isn’t seen.

For it to work the best you need to add a lot of mass as low as possible. You can counteract it with having the floating Parts with Density of something like .1. This causes it to have a big pendulum type effect.

1 Like

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