# Handle Flying Characters with Regards to Ground Terrian

**URL:** <https://forums.unrealengine.com/t/handle-flying-characters-with-regards-to-ground-terrian/667230>\
**Category:** World Creation\
**Tags:** Map, unreal-engine, UE5-0\
**Created:** [October 11, 2022, 2:16pm UTC](https://forums.unrealengine.com/t/handle-flying-characters-with-regards-to-ground-terrian/667230 "2022-10-11T14:16:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cmdr.Kokoro](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cmdr.kokoro/32/576221_2.png) [@Cmdr.Kokoro](https://forums.unrealengine.com/u/Cmdr.Kokoro)\
**Post date:** [October 11, 2022, 2:16pm UTC](https://forums.unrealengine.com/t/handle-flying-characters-with-regards-to-ground-terrian/667230/1 "2022-10-11T14:16:32Z")

</div>

Hi!

I want to put character flight as an option in my game, however, as I was playing with the camera while building the terrian map that I’m building, I noticed that I don’t have to get very much altitude in the camera position to notice the edges of the map. (Granted right now, it’s a small area.) I using EasySkyV2 for my sky, but what I’d like to know is:

How do you conceal the edge of the map? i know that in typical games involving land-only movements, it’s easy, you place water and/or mountains at the edges of the map.

How do you disallow flying off the edge of the world? Like could I create some kind of invisible collision wall?

Thank you!

---

<div class="post-metadata">

**Author:** ![Mind-Brain](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mind-brain/32/906573_2.png) [@Mind-Brain](https://forums.unrealengine.com/u/Mind-Brain)\
**Post date:** [October 11, 2022, 11:32pm UTC](https://forums.unrealengine.com/t/handle-flying-characters-with-regards-to-ground-terrian/667230/2 "2022-10-11T23:32:27Z")

</div>

Hey again Cmdr.Kokoro!

You absolutely can put in invisible walls/ceiling! You’ll just create a cube and give it collision with dynamic objects. Stretch it out, and line it up where you want the player to stop, then hide the static mesh in game. Do that with the four sides and the ceiling and they can’t get out! Feel free to go large, the boundary boxes can overlap just fine!

---

<div class="post-metadata">

**Author:** ![Cmdr.Kokoro](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cmdr.kokoro/32/576221_2.png) [@Cmdr.Kokoro](https://forums.unrealengine.com/u/Cmdr.Kokoro)\
**Post date:** [October 12, 2022, 9:26am UTC](https://forums.unrealengine.com/t/handle-flying-characters-with-regards-to-ground-terrian/667230/3 "2022-10-12T09:26:32Z")

</div>

Awesome! Thank you!

But I still need an answer for the first question. How do I hide the edges of my game map while airborne?

Thanks again! 🙂

---

<div class="post-metadata">

**Author:** ![Mind-Brain](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mind-brain/32/906573_2.png) [@Mind-Brain](https://forums.unrealengine.com/u/Mind-Brain)\
**Post date:** [October 12, 2022, 11:51pm UTC](https://forums.unrealengine.com/t/handle-flying-characters-with-regards-to-ground-terrian/667230/4 "2022-10-12T23:51:01Z")

</div>

Well, realistically you can’t. You can either make the map large enough to accommodate this and block their movement far enough away from the edges they just can’t see them, or make a volumetric fog to block vision and set it on the edges. Really that’s more of a design decision than a technical one. I personally like the “Island” style, surrounding the entire map with water going out really far and if they go too far out they get a warning then die from “exhaustion” if they continue by using a kill-box.

Here’s some documentation on Volumetric fog if you want to go that route!

> **[Volumetric Fog](https://docs.unrealengine.com/5.0/en-US/volumetric-fog-in-unreal-engine/)**
>
> An overview of the volumetric fog and lighting options available with the Exponential Height Fog Component.

---

<div class="post-metadata">

**Author:** ![Cmdr.Kokoro](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cmdr.kokoro/32/576221_2.png) [@Cmdr.Kokoro](https://forums.unrealengine.com/u/Cmdr.Kokoro)\
**Post date:** [October 27, 2022, 11:09pm UTC](https://forums.unrealengine.com/t/handle-flying-characters-with-regards-to-ground-terrian/667230/5 "2022-10-27T23:09:33Z")

</div>

That’s what I’ll do then. I have a goal of mimicking some of the older style games and I want to have a 500 sq mile land mass. I’ll then add the volumetric fog to the boarders.
