I want to make a game that has physics like gravity shift (https://www.roblox.com/games/77899385) but I can't find out how to do it. I have spent forever doing it and I am close to giving up. If you can answer this with a script that works, I will be forever grateful!
Gravity shift physics are IMPOSSIBLE!!! How would I do it?
1 answer
The way to turn off gravity for a part is to give a body force with force equal to Vector3.new(0, gravity * part:GetMass(), 0) to switch gravity, you would double that. Here is some example code Imade to toggle gravity for a specific model, play with it until you get what you need.
2 comments
Thanks for the code, but that isn't exactly what I wanted. I dont want to turn off gravity, I want to make whatever I stand on become the ground. Kind of like planetary gravity. I am bad at explaining things, but I want physics like this: https://www.roblox.com/games/77899385
Just turn off gravity and make your own. use velocity to move a part toward the "ground" I think that in gravity shift, the actual gravity is controlled inside the ball, not the workspace at all. Ex: if I turn off gravity and then make Values in the ball that can be changed by touching parts, then make a script that changes velocity based on these values... or something like that
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Not a request site! theCJarmy7 gave a good answer, and you’re just so picky! Moderated for non constructive!