Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

Need help making a ship sink on high sac water?

Asked by 9 years ago

Ive tryed everything and its hard can someone help me? And make it regen. Do you use cframe?

0
Please post examples of what you've already tried. Also what is 'high sac'? Perci1 4988 — 9y
0
I think he means high scalability water, AKA terrain water. Spongocardo 1991 — 9y
0
Er... I don't know then. I hate terrain. Perci1 4988 — 9y

1 answer

Log in to vote
0
Answered by 9 years ago

If you haven't already tried to use BodyForce then try. Just insert it into a part of the ship when you want it to sink and set the y force to some form of the ships -(SinkSpeed)*TotalMass. You can get TotalMass from the following:

local TotalMass=0 for i, v in pairs(ship:GetChildren())  TotalMass=v:GetMass()+TotalMass end
Ad

Answer this question