# Landable planet with spherical gravitation and land features(Mountains,oceans,hills,foliage)

**URL:** <https://forums.unrealengine.com/t/landable-planet-with-spherical-gravitation-and-land-features-mountains-oceans-hills-foliage/444377>\
**Category:** Blueprint\
**Tags:** planet, unreal-engine, question, Blueprint\
**Created:** [March 1, 2019, 2:42am UTC](https://forums.unrealengine.com/t/landable-planet-with-spherical-gravitation-and-land-features-mountains-oceans-hills-foliage/444377 "2019-03-01T02:42:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![UsualSpace](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UsualSpace](https://forums.unrealengine.com/u/UsualSpace)\
**Post date:** [March 1, 2019, 2:42am UTC](https://forums.unrealengine.com/t/landable-planet-with-spherical-gravitation-and-land-features-mountains-oceans-hills-foliage/444377/1 "2019-03-01T02:42:10Z")

</div>

Hello. I have been searching for a couple of years now for information to make a space game in ue4(Or at least 1 detailed planet). I would greatly appreciate it if someone could help me to create a planet that you can enter, be able to walk around it(seemingly infinite) with gravity pulling you towards the center, and to be able to have an atmosphere that looks good from the outside in space, and that looks like a sunny blue sky from the inside(and a nighttime, like on earth). I want to be able to exit the planet without a loading screen and enter it(vice versa). I also wish to be able to add foliage such as grass, flowers trees, etc. And if possible, clouds that rotate around the planet. By the way this might be asking for much, but i can only do this within blueprints. No written code. I know what i’m asking for is possible. I’ve seen multiple videos of this done in Unreal Engine 4. Some examples:

Galaxia: [Galaxia in UE4 - YouTube](https://www.youtube.com/watch?v=xX2JV7XZAIw)

for example of how i want to enter/exit planet: [\*WIP\* Ground to space Unreal Engine 4 Landscape - YouTube](https://www.youtube.com/watch?v=CMNkPIHT3-A)

For how i want gravity to work and in general what the planet looks like: [Spore Planet in UE4 (Planetary Gravitation) - YouTube](https://www.youtube.com/watch?v=w_q8i_ZenqE)

I know this is asking alot and even if im not an expert at ue4, and i don’t have any people working with me, I would still like to know how this even works and how i might go about doing it. Please don’t tell me how silly this might sound for 1 person and how long it would take.

---

<div class="post-metadata">

**Author:** ![kevincvanhorn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kevincvanhorn](https://forums.unrealengine.com/u/kevincvanhorn)\
**Post date:** [March 1, 2019, 3:33am UTC](https://forums.unrealengine.com/t/landable-planet-with-spherical-gravitation-and-land-features-mountains-oceans-hills-foliage/444377/2 "2019-03-01T03:33:38Z")

</div>

Hi, I can update this with more info, but [this dissertation](http://www.twandegraaf.nl/Art/Documents/Procedural%20planets%20into%20detail,%20Twan%20de%20Graaf%202012.pdf) has been the most helpful for me.

Big things to get over are custom gravity, and dynamic tessellation for the planet as you approach. A lot of this is done with your own procedural mesh code, but definitely check out the procedural mesh component through UE4.

---

<div class="post-metadata">

**Author:** ![UsualSpace](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UsualSpace](https://forums.unrealengine.com/u/UsualSpace)\
**Post date:** [March 7, 2019, 2:16am UTC](https://forums.unrealengine.com/t/landable-planet-with-spherical-gravitation-and-land-features-mountains-oceans-hills-foliage/444377/3 "2019-03-07T02:16:20Z")

</div>

Thank you this helps a lot. Is there any way to have like a sphereical trigger or something that when you cross over it will start pulling you toward the center of the planet?(I want to be able to walk around the planet and have hills that i can walk over accurately just like the “spore planet” video I posted above) (I also want to be able to size the area where gravity starts “pulling” you down.)

---

<div class="post-metadata">

**Author:** ![kevincvanhorn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kevincvanhorn](https://forums.unrealengine.com/u/kevincvanhorn)\
**Post date:** [March 7, 2019, 8:36pm UTC](https://forums.unrealengine.com/t/landable-planet-with-spherical-gravitation-and-land-features-mountains-oceans-hills-foliage/444377/4 "2019-03-07T20:36:58Z")

</div>

Welcome!

You’re going to want to make a custom movement component for your player pawn derived class. (If you do a Character derived class you have to modify the engine so this is not as recommend for ease of use). You can definitely increase gravity with triggers in certain areas. Experiment with using the surface normals to adjust which way is up for the player.

Look up custom gravity, planet gravity, etc. in the forums as well. [This](https://forums.unrealengine.com/community/released-projects/56517-blueprint-c-advanced-templates-tools-plugins?85022-Blueprint-C-Advanced-Templates-Tools-amp-Plugins=) is the most helpful one I have found.

Good luck!

---

<div class="post-metadata">

**Author:** ![UsualSpace](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UsualSpace](https://forums.unrealengine.com/u/UsualSpace)\
**Post date:** [March 8, 2019, 1:36am UTC](https://forums.unrealengine.com/t/landable-planet-with-spherical-gravitation-and-land-features-mountains-oceans-hills-foliage/444377/5 "2019-03-08T01:36:55Z")

</div>

Thank you so much.
