Download

Is it possible to rewrite how gravity works at the engine level?

Hi, I’m currently creating game with a planet as a map, like the map itself is a sphere, and using a plugin on the marketplace called “Directional Gravity” to planetary simulate gravity for the player, and it comes with a fair share of challenges by using that, basically the plugin makes it so that the character is pulled to the planet every tick based on a custom character and character movement component, as well as an actor for the planet to the the character where it should fall to. I just wonder if it’s possible to do this at an engine level, like you overwrite the gravity variable itself in the engine so that the “true” gravity can also work like that.

For those that still doesn’t know what I’m talking about watch, Unreal Engine 4 Directional Gravity Playing Around - YouTube , basically can I do that at an engine level?