Community Tutorial: Dynamic Planet Gravity System

In this tutorial, I am going to implement adynamic planet gravity system. The player will be able to walk around a sphere shape world. The gravity will be applied towards the center of the world and player will be standing perpendicular to the surface regardless of the place player is on the surface. Also, player will be able to fly away from the current planet and land on another planet. When the player reach a certain planet, the gravity field of the closest planet will be applied. Once stop flying, player will fall on the surface and can walk.
also, we will work on physics objects where a custom gravity system is applied towards the center of the spherical world they are in.

https://dev.epicgames.com/community/learning/tutorials/3RJz/unreal-engine-dynamic-planet-gravity-system

1 Like