I made a Planetary/Spherical gravity system

Hello!
I have been working on a custom character and gravity system that allows a player to walk on spherical surfaces. Here’s how it looks:

And, when you add on actual terrain, the result is quite good:

Each planet can be assigned a different gravity value.

The character controller even has a custom swimming state to allow for exploring water bodies on planets, and there are visual effects when you submerge your camera underwater as well:

There are also atmospheric effects that change the skybox and lighting properties for specific planets to add immersion to the gameplay.

I also built a vehicle system which lets you drive rovers

And also fly spaceships

and the coolest thing is you can actually fight little green men!

I also built a lighting system that changes the lighting’s geographic latitude to align the skybox sun with the 3d sun. This allows to get the sun to face at the player on all times. We also incorporated distance-based brightness scaling, so the farther you go the dimmer it gets just like in real life.

I believe this is one of the first games on roblox to incorporate such a physics system. Although it has been done before it has never been polished properly and always looked Janky. An example is the game Solar System Exploration 2, which has planetary gravity and also the 3d sunlight system however they both are pretty primitive and mine upgrades them so that we can place planets around the sun (in SSE2 and other games its limited to one hemisphere). I’ve tried my hardest to mimic the roblox humanoid system and the result seems to be pretty satisfying.

Me and my team are trying our best to make this game as playable and fun as possible so that the space genre enters mainstream on roblox. Currently most space games are not close to playable or good and the whole genre is seen a niche by most, mainly because its hard to capitalize off of roblox’s young audience through a rather complicated base idea.

33 Likes

woah this is super good! congrats on doing this

5 Likes

My one weakness.

Jeez man this is impressive! The space ship and rover could use some vfx and things like that, but it is all so nice!

2 Likes

Yeah surely the game is not even close to being completed, right now we are just getting stuff to work and we will add cosmetics later.

1 Like

This is sick! Was this complicated to do?

2 Likes

Pretty cool, I’ve done something like this and I take off my hat as it is quite hard, congratulations!

2 Likes

Nice! That’s super awesome :smile: Good job.

2 Likes

I have been trying to make something like this since almost 2 years and over time ive gotten better at this. I remember my first attempt placed an invisible block below the character so it doesnt fall into the ground :rofl:

This can be fairly tedious as you have to disable roblox’s gravity and humanoid systems and completely write yours from scratch. But ive just done it so many times now that i finally got something that is playable and nice lol. The biggest problem is that a game like this is going to fight roblox’s tendencies to bind stuff to the global Y axis. So if something like that happens you just turn it off and make your own instead :smiley:

3 Likes

That looks and feels natural. Great job! What are the plans for releasing the game?

2 Likes

Going to be a solar system game where you go to other planets, build your base to colonize them. You can mine ores and fight aliens and do lots of stuff. Many moons of the gas giants will have features like subsurface oceans that have life in them and also cryogenic and molten volcanoes.

2 Likes

one of my first times seeing this, seems that you need to put a lot of time and effort to make this sort of stuff, keep it up

2 Likes

Definitely one of the coolest things I’ve ever seen on Roblox.

1 Like

That’s awesome. Glad you’re guys putting effort into this.

1 Like

This planetary and spherical gravity system looks INSANELY GOOD! AWESOME JOB ON IT! This is a very cool and unique thing for Roblox! How long did it take for you to make this? It’s extremely nice!

1 Like

Incredible

Good job dude.

1 Like

First attempted to do something like this almost 1 and a half years ago! I have made approximately 4 iterations of this system, each having improvements and expanding the cabailities of the last. This is the fourth one that you’re seeing and its finally good enough to be used in a production game!