Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

how would I change the gravity for one certain model?

I am trying to change the gravity for one model so when It falls from the sky, it falls slowly and doesn't just crash down. What I got so far is to put a script in each part of the model as well as a bodyforce. I have no idea how to do this, ideas?

Here is my script

script.Parent.BodyForce.Force = Vector3.new(0, game.Workspace.Gravity, 0) == script.Parent.GetMass()

1 comment

0

you can just CFrame it "Slowly" without using gravity, or give a seperate variable as gravity and use that as gravity

1 answer

###You would multiply Gravity and the part's mass, and the result would be what the Y axis should be. Your current script is attempting to assign Force to a boolean, which is bound to throw an error since the expected value is a Vector3.

script.Parent.BodyForce.Force = Vector3.new(
    0,
    game.Workspace.Gravity*script.Parent.GetMass(),
    0
)

This discussion is preserved as it was. New answers, comments, and votes are closed.