I am attempting to make a game that takes place in outer space and was wondering what methods or techniques I could use to simulate planetary gravity. An example of what I'm going for can be found here: https://web.roblox.com/games/845725483/Space-Mining-Tycoon-ALPHA. Where would I start and how would I go about this?
COMMUNITY QUESTION
How would I go about simulating planetary gravity?
1 answer
I recommend you just copy this entire game, it has the planetary gravity:
credits to blobby blob for making the game.
6 comments
0
I tried this out, but it seems that there's a problem with the camera script that's in the model. It works in the main game, but not in mine. :thonk:
0
Actually, really nothing is working. Any ideas?
0
Are you sure, it worked perfectly fine for me (Except the playing glitching when it moves)
0
try planetary gravity v2 (search it up, you will find the model)
0
BIG BIG BIG BIG BIG BUMP, I came after 6 months
0
i swear i bumped this again
This discussion is preserved as it was. New answers, comments, and votes are closed.

6 comments
You could set the workspace's Gravity to lower, or use a BodyForce
Yes, but what I'm looking for is the ability to walk around the entire planet without falling off. I believe it would be more complicated and difficult to use a sphere planet for this, so I have opted to use a cube.
this is actually an awesome idea. i'll have to try this out sometime this week, i'll share if i figure something out
you could do a sphere just use a body force that gives force to all players directly in to the center of the sphere
How exactly would I implement that?
While skillfulzombie88's idea would move players to the sphere, they would still face down and walking along with camera rotation would not change. I thought about doing that in one of my games and it didn't work all that well