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

How would I go about simulating planetary gravity?

Asked by
lunatic5 409 Moderation Voter
5 years ago

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?

0
You could set the workspace's Gravity to lower, or use a BodyForce User#19524 175 — 5y
0
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. lunatic5 409 — 5y
0
this is actually an awesome idea. i'll have to try this out sometime this week, i'll share if i figure something out wookey12 174 — 5y
0
you could do a sphere just use a body force that gives force to all players directly in to the center of the sphere skillfulzombie88 28 — 5y
View all comments (2 more)
0
How exactly would I implement that? lunatic5 409 — 5y
0
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 OBenjOne 190 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago
Edited 5 years ago

I recommend you just copy this entire game, it has the planetary gravity:

planetary gravity link

credits to blobby blob for making the game.

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: lunatic5 409 — 5y
0
Actually, really nothing is working. Any ideas? lunatic5 409 — 5y
0
Are you sure, it worked perfectly fine for me (Except the playing glitching when it moves) greatneil80 2647 — 5y
0
try planetary gravity v2 (search it up, you will find the model) greatneil80 2647 — 5y
View all comments (2 more)
0
BIG BIG BIG BIG BIG BUMP, I came after 6 months greatneil80 2647 — 5y
0
i swear i bumped this again greatneil80 2647 — 4y
Ad

Answer this question