Using the :GetMass of a model(I think) how would I make it so that it would be able to set the amount of force(BodyForce) it would take to 'float' the model 2 studs off the ground based on its "Mass"
How do I float a model 2 studs above the ground?
2 answers
You can take a look at this wiki page about gravity in roblox. It mostly explains how you'd get the object to float.
For keeping it at 2 studs, you could use a BodyPosition, set it's position's y to 2 (or whatever is 2 studs above your ground) and then set the x and z of the maxForce to 0 so those aren't affected, just the y.
1 comment
I wanted to say this :((( :P
This would need lots off math, but basically put: you would make the Y velocity the mass (I think) + the distance of 2 studs.
5 comments
Yeah..... I know that....
Then why'd you ask?
Your answer didn't provide any of the information he wasn't asking for.
Yes, it did, except that I said to use a part's velocity rather than a body mass. Either that or his question wasn't specific enough.
Your answer doesn't fit his question. Not to my knowledge, at least.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Please refrain from titling questions things like "Formula". It doesn't help those on the Questions page know what your asking.