Planetary Gravity Controller made via EgoMoose's Gravity Controller

I created a gravity controller by using the foundation of EgoMoose’s Gravity Controller. It is fairly simple to create as the scripts contain a base to start on. There is a value in the main module that you can modify to force the player to look down at a sphere, or any direction. That’s really all there is to it but if you wanted to do extra stuff like gravity forces, I’d recommend messing around with constraints and seeing what you could do!

I added swimming, and realistic drift to my controller as I wanted it to be similar to how jumping would be like in space. The camera in this controller is also entirely custom, and is built off the roblox CameraInput module, this was to introduce a more flexible system for the game, and to remove some buggy camera drift the controller has for some reason.

In the video shown below, there is also extra features shown in this game like a spaceship system, atmospheres, quotes, and a system of lighting that rotates the geographical latitude to the player for realistic sunlight. (If you have ever seen outer wilds I think you can tell what the gui was inspired off of!)

This is a proud accomplishment for me and I am excited to see how far this game goes. It is currently in a major beta stage and there isn’t any playable content yet. If you have any suggestions or opinions, feel free to share it below!

7 Likes

Hey this is amazing to see you pulled this off. As someone who has also made an spherical controller and camera from scratch its definitely something to be proud of, and not many achieve it, congratulations.

So do you use his scripts as a base and modified them heavily? Or was the character controller entirely from scratch too

how much of the egomoose controller did you use, also thats amazing. I tried making a character controller and i failed horribly, that was also a while ago though and i have gained a lot of coding knowlege since then.

Thank you! The controller uses basically only the primary controller of the player, any other camera effects or added scripts were removed in favor of the camera.

I basically only used the character controller with a few tweaks added to it