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

How do i make a brick float in the same spot but not go higer? (read below!)

Asked by 10 years ago

When i was making a brick float with Body Velocity, it went higher and higher, how do i make it stay in
one spot but still moves like in the spinning thing of doom lobby?

2 answers

Log in to vote
2
Answered by
HexC3D 830 Moderation Voter
10 years ago

Well actually bode velocity won't work you can try to manipulate the floating brick by getting it's gravity.

Try using BodyForce.

MassAddition = 0
MassAddition = brick:GetMass() + MassAddition
Gravity =  -196.2 * MassAddition
Instance.new("BodyForce",brick).force = Vector3.new(0,-Gravity,0)


Make the brick first and define in before the script though this should negative the effect of gravity and let it float :P.

GetMass() Just get's the mass of the brick. Try wiki if you don't understand.

Ad
Log in to vote
0
Answered by 10 years ago

There's more body velocity that specialize in that. Experiment with some so the brick stays it stays in the air, or if not, I have no idea.

0
ok, i will try that livinggame 0 — 10y

Answer this question