# Is it possible to create sphere worlds in UE4?

**URL:** <https://forums.unrealengine.com/t/is-it-possible-to-create-sphere-worlds-in-ue4/306407>\
**Category:** World Creation\
**Tags:** world, gravity, planet, unreal-engine, Physics, question, Blueprint\
**Created:** [February 9, 2015, 10:10am UTC](https://forums.unrealengine.com/t/is-it-possible-to-create-sphere-worlds-in-ue4/306407 "2015-02-09T10:10:14Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_0cc6f6ee1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0cc6f6ee1](https://forums.unrealengine.com/u/anonymous_user_0cc6f6ee1)\
**Post date:** [February 9, 2015, 10:10am UTC](https://forums.unrealengine.com/t/is-it-possible-to-create-sphere-worlds-in-ue4/306407/1 "2015-02-09T10:10:14Z")

</div>

Is it possible to create sphere worlds, like the small planets is Spore? Or like this game: [link

I have no idea, where to start, or even if it is possible somehow. The gravity should point to the center of the sphere (planet), and the heightmap should be applied to a sphere somehow, and the characters should walk on the surface.

[http://collinhover.github.io/](http://collinhover.github.io/)

---

<div class="post-metadata">

**Author:** ![Moss](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/moss/32/704032_2.png) [@Moss](https://forums.unrealengine.com/u/Moss)\
**Post date:** [February 9, 2015, 11:40am UTC](https://forums.unrealengine.com/t/is-it-possible-to-create-sphere-worlds-in-ue4/306407/2 "2015-02-09T11:40:06Z")

</div>

It is but you will require to create a custom gravity vector instead of using the build-in engine gravity. Here is a forum thread about how to do it and to get you started: [Dynamic gravity for characters - C++ - Unreal Engine Forums](https://forums.unrealengine.com/showthread.php?57376-Dynamic-gravity-for-characters)

You gravity vector would then point into the sphere.

---

<div class="post-metadata">

**Author:** ![Moss](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/moss/32/704032_2.png) [@Moss](https://forums.unrealengine.com/u/Moss)\
**Post date:** [February 21, 2015, 11:34am UTC](https://forums.unrealengine.com/t/is-it-possible-to-create-sphere-worlds-in-ue4/306407/3 "2015-02-21T11:34:47Z")

</div>

Do you require any further assistance on the issue?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_776011b61](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_776011b61](https://forums.unrealengine.com/u/anonymous_user_776011b61)\
**Post date:** [February 21, 2015, 11:59am UTC](https://forums.unrealengine.com/t/is-it-possible-to-create-sphere-worlds-in-ue4/306407/4 "2015-02-21T11:59:30Z")

</div>

Hi

Can this be done in Blueprints or Just C++

---

<div class="post-metadata">

**Author:** ![Moss](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/moss/32/704032_2.png) [@Moss](https://forums.unrealengine.com/u/Moss)\
**Post date:** [February 21, 2015, 12:04pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-create-sphere-worlds-in-ue4/306407/5 "2015-02-21T12:04:35Z")

</div>

For now it is a C++ only solution, once Epic merges some related Pull Request into the engine it will be accessible from BP too.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_776011b61](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_776011b61](https://forums.unrealengine.com/u/anonymous_user_776011b61)\
**Post date:** [February 21, 2015, 12:13pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-create-sphere-worlds-in-ue4/306407/6 "2015-02-21T12:13:53Z")

</div>

Can it be possible to right in C++ then export as a Node?

---

<div class="post-metadata">

**Author:** ![Moss](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/moss/32/704032_2.png) [@Moss](https://forums.unrealengine.com/u/Moss)\
**Post date:** [February 21, 2015, 12:33pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-create-sphere-worlds-in-ue4/306407/7 "2015-02-21T12:33:48Z")

</div>

Creating a BP node you mean? I think not directly because it requires quite some engine modification in the movement component and some others so that the gravity affects the remaining actors.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_776011b61](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_776011b61](https://forums.unrealengine.com/u/anonymous_user_776011b61)\
**Post date:** [February 21, 2015, 1:02pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-create-sphere-worlds-in-ue4/306407/8 "2015-02-21T13:02:29Z")

</div>

Cheers

Would of worked for me at this point. Shame, will have to wait.

---

<div class="post-metadata">

**Author:** ![Eduard\_Gotwig\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Eduard\_Gotwig\_1](https://forums.unrealengine.com/u/Eduard_Gotwig_1)\
**Post date:** [March 9, 2015, 9:05pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-create-sphere-worlds-in-ue4/306407/9 "2015-03-09T21:05:35Z")

</div>

Too bad the author doesnt respond anymore and the sourcecode is not released…

---

<div class="post-metadata">

**Author:** ![Moss](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/moss/32/704032_2.png) [@Moss](https://forums.unrealengine.com/u/Moss)\
**Post date:** [March 9, 2015, 9:18pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-create-sphere-worlds-in-ue4/306407/10 "2015-03-09T21:18:13Z")

</div>

Yeas but the idea is quite clear, and he submitted some Pull Requests that Epic was having a look at.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0cc6f6ee1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0cc6f6ee1](https://forums.unrealengine.com/u/anonymous_user_0cc6f6ee1)\
**Post date:** [March 9, 2015, 10:35pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-create-sphere-worlds-in-ue4/306407/11 "2015-03-09T22:35:55Z")

</div>

Thank you for the answers. I’m sad, I can’t create it using blueprint, but if it is possible somehow else, it’s ok. I’m busy this months, but I will check out the link, with the custom gravity vector as soon, as possible.

---

<div class="post-metadata">

**Author:** ![Phim](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Phim](https://forums.unrealengine.com/u/Phim)\
**Post date:** [January 5, 2016, 12:01pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-create-sphere-worlds-in-ue4/306407/12 "2016-01-05T12:01:14Z")

</div>

The pull request you mentioned is the #1773 (status open)?

---

<div class="post-metadata">

**Author:** ![Andras\_D\_Ormos](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Andras\_D\_Ormos](https://forums.unrealengine.com/u/Andras_D_Ormos)\
**Post date:** [September 13, 2016, 2:52pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-create-sphere-worlds-in-ue4/306407/13 "2016-09-13T14:52:40Z")

</div>

Hi! Have you had any luck solving this in BP?

---

<div class="post-metadata">

**Author:** ![exrush](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@exrush](https://forums.unrealengine.com/u/exrush)\
**Post date:** [November 22, 2016, 3:54pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-create-sphere-worlds-in-ue4/306407/14 "2016-11-22T15:54:30Z")

</div>

Yes, this is solved in Blueprints. Here is a video tutorial link:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/a/c/7ace03a3d52f0f6782293a261177d7b90cb37c82.jpeg "UE4 - Planet Explorer Game Part 3 - Planet Gravity & First Person Character") ](https://www.youtube.com/watch?v=6z5xkJehRMg)

---

<div class="post-metadata">

**Author:** ![Zat0or](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zat0or](https://forums.unrealengine.com/u/Zat0or)\
**Post date:** [July 8, 2018, 8:42pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-create-sphere-worlds-in-ue4/306407/15 "2018-07-08T20:42:57Z")

</div>

this man don know how to set gravity

---

<div class="post-metadata">

**Author:** ![SuryaPrakashModi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SuryaPrakashModi](https://forums.unrealengine.com/u/SuryaPrakashModi)\
**Post date:** [May 25, 2021, 7:21am UTC](https://forums.unrealengine.com/t/is-it-possible-to-create-sphere-worlds-in-ue4/306407/16 "2021-05-25T07:21:09Z")

</div>

watch this. [How To Do Line Tracing Using C++ In Unreal Engine - YouTube](https://youtu.be/LWeQicz_teo)
