LinearVelocity to make vehicle float properly

I’m trying to make a vehicle that is always hovering/floating. Currently, I’m using the mass of the part and gravity to cancel out gravity

	linear.MaxForce = part:GetMass() * workspace.Gravity

But the problem is, when the player jumps on the vehicle, the total mass obviously changes, and it sinks. What would be a better way of making a floating vehicle?

1 Like