# Nav Mesh Bouds Problem in VE ue4

**URL:** <https://forums.unrealengine.com/t/nav-mesh-bouds-problem-in-ve-ue4/717241>\
**Category:** Architectural and Design Visualization\
**Tags:** unreal-engine, question\
**Created:** [November 28, 2022, 10:30pm UTC](https://forums.unrealengine.com/t/nav-mesh-bouds-problem-in-ve-ue4/717241 "2022-11-28T22:30:40Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![G.Piren](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@G.Piren](https://forums.unrealengine.com/u/G.Piren)\
**Post date:** [November 28, 2022, 10:30pm UTC](https://forums.unrealengine.com/t/nav-mesh-bouds-problem-in-ve-ue4/717241/1 "2022-11-28T22:30:40Z")

</div>

Hi, does anyone know a solution to the navigation grid problem?  
When navigating in VR, I would like to be able to move around the room sequentially, avoiding randomly going to another floor.  
How can this be implemented?  
That is, how to block navigation from the bottom plane of the floors ?

 ![01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/8/a/f8ad0c8bf1911eeb6c3a45df2f4da6ab0b0c19d5.jpeg)  
 ![02](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/8/8/c888d2690cdfc447237459f89f08e66cd07e23a9.jpeg)  
 ![03](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/6/2/3627897da93651b99301c34965c3f43e5e9e557f.jpeg)  
 ![04](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/1/d/81d095119292d03be7726eba36bc865c6ae75d87.jpeg)  
 ![05](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/c/a/9ca7e4e6dbdedbc1393b0db61a1a676b0a8a42ce.jpeg)

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/f/d/ffdf91db3a21b355df3d28e296722d8ace56bc0c.jpeg "video") ](https://www.youtube.com/watch?v=rjjMBnx3F5E)

---

<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:** [November 28, 2022, 10:34pm UTC](https://forums.unrealengine.com/t/nav-mesh-bouds-problem-in-ve-ue4/717241/2 "2022-11-28T22:34:13Z")

</div>

Hey @G.Piren!

So I think what you need to do is get the location of the end point for the teleport and the player’s current position, get the difference. Then when you release to activate the teleport, if the difference is too large, refuse the teleport. 🙂

That would be one way to do it, there are probably many, many more, but it’s likely the easiest.

---

<div class="post-metadata">

**Author:** ![G.Piren](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@G.Piren](https://forums.unrealengine.com/u/G.Piren)\
**Post date:** [November 28, 2022, 10:50pm UTC](https://forums.unrealengine.com/t/nav-mesh-bouds-problem-in-ve-ue4/717241/3 "2022-11-28T22:50:03Z")

</div>

Thank you for your reply, but I am a complete novice,  
Could you please show me your method in more detail?

---

<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:** [November 28, 2022, 10:52pm UTC](https://forums.unrealengine.com/t/nav-mesh-bouds-problem-in-ve-ue4/717241/4 "2022-11-28T22:52:12Z")

</div>

Can you post pictures of your teleport code and I’ll try to copy it and add what you need? 🙂

---

<div class="post-metadata">

**Author:** ![G.Piren](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@G.Piren](https://forums.unrealengine.com/u/G.Piren)\
**Post date:** [November 28, 2022, 11:08pm UTC](https://forums.unrealengine.com/t/nav-mesh-bouds-problem-in-ve-ue4/717241/5 "2022-11-28T23:08:47Z")

</div>

Yes, of course, I would be very happy if you could help.  
This is a standard ue 4. 26 VR template with controllers

 ![00](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/e/e/5ee84098ce6f14adda0fa79392418f6dc1d1c081.jpeg)  
 ![01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/1/f/81fa7f2b965964c1e5098e6b401eb4229c6cd316.jpeg)  
 ![1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/1/0/5100abb28bb4e9278688742bd8db01b23a16697a.jpeg)  
 ![02](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/1/9/319700f72fcbb86277ec127b6dd5895514ba9861.jpeg)  
 ![03](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/6/a/46a8b589886221470a8319049de2f40d9b4ff9df.jpeg)

---

<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:** [November 29, 2022, 12:30am UTC](https://forums.unrealengine.com/t/nav-mesh-bouds-problem-in-ve-ue4/717241/6 "2022-11-29T00:30:49Z")

</div>

Let’s try something different because I don’t have 4.26 downloaded.

Can you select “Self” and look for this variable, and let me know if you see it? We can use that if it’s there.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/b/2/7b26015c137a7a2f52a7a30f8bc4f183f4687f0c.png)

---

<div class="post-metadata">

**Author:** ![G.Piren](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@G.Piren](https://forums.unrealengine.com/u/G.Piren)\
**Post date:** [November 29, 2022, 1:24am UTC](https://forums.unrealengine.com/t/nav-mesh-bouds-problem-in-ve-ue4/717241/7 "2022-11-29T01:24:08Z")

</div>

I have it looks like this ☹

 ![04](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/9/5/c95bdff8187e6ccc557012ca3628c14206927df8.jpeg)

---

<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:** [November 29, 2022, 2:29am UTC](https://forums.unrealengine.com/t/nav-mesh-bouds-problem-in-ve-ue4/717241/8 "2022-11-29T02:29:18Z")

</div>

Okay! Well, it looks like you’re going to have to do some learning! 😛  
You just need to learn how to set a variable and check it. That’s very basic stuff, so you can definitely learn that in nearly every starter tutorial that isn’t VR, VR is typically far more advanced. I would suggest maybe this one, you’ll come out knowing a lot more, and it’s all applicable to what you’re doing. Pay attention to the code and what you’re doing, not what the end product is. 🙂 (I know you’re not making a block based game, this is a learning thing)

> **[Building a Block Based Game | Course](https://dev.epicgames.com/community/learning/courses/qZr/unreal-engine-building-a-block-based-game/d1G7/unreal-engine-building-a-block-based-game-introduction)**
>
> In this course, you’ll create a sandbox-style game in Unreal Engine in which the player can build their own world with blocks of their own design. Along...

---

<div class="post-metadata">

**Author:** ![G.Piren](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@G.Piren](https://forums.unrealengine.com/u/G.Piren)\
**Post date:** [November 29, 2022, 2:47am UTC](https://forums.unrealengine.com/t/nav-mesh-bouds-problem-in-ve-ue4/717241/9 "2022-11-29T02:47:38Z")

</div>

Thank you so much for all your help!  
I will definitely watch this video course
