Navigation Questions

2

Solved

I am making a 3D game and have added a feature that if the Bot collides with a specific object, it gets knocked back. I am using a NavMeshAgent for the bot and this goes against the Rigidbody so I dis...
Abacus asked 24/8, 2020 at 2:57

1

Unity NavMeshSurface IsPartOfPrefab not found something. It says in the log error CS1061: ‘NavMeshSurface’ does not contain a definition for ‘IsPartOfPrefab’ and no accessible extension method ‘IsPar...

3

Solved

I'm using Godot 4.2.stable (on Windows), and I'm having an issue creating the boundary for a NavigationRegion2D. I'm trying to follow along with this Zenva course "Real-Time Strategy Game with Godot ...
Goldman asked 18/12, 2023 at 16:37

4

Hi guys. I want to manually move my character controller along a path that NavMesh.CalculatePath() gives me. Unity’s NavMeshAgent doesn’t work for me, because the movement of my character controller i...
Prosit asked 4/3, 2019 at 7:34

4

Solved

Is there a way to disable collisions between two NavMeshAgents? They appear to push each other around, regardless of what Layer I put them on (so as to disable collision in the Physics Manager).
Kirsten asked 3/7, 2013 at 14:33

0

Hi, I want to bake NavMesh at runtime. When I use NavMeshBuilder.BuildNavMesh, navmesh is generated with links, but the impact on performance is quite heavy. If I use NavMeshBuilder.UpdateNavMeshDataA...
Cantara asked 13/9, 2023 at 18:46

2

wizwon Hard to debug from screenshots. Post a MRP.
Matchbook asked 27/2 at 16:29

7

I built a simple game using Unity’s built in NavMesh Agent AI system. My player has a laser that uses a raycast to apply a force to the enemy to not it back. This works… for the first couple seconds o...
Vadnais asked 8/3, 2014 at 5:30

4

Solved

On running the profiler I can see that the Objects count in Monitors keeps increasing due to a specific function call. Is it possible to check which specific class objects are increasing in count here...
Brabazon asked 6/2 at 5:54

2

Hey! I implemented a basic chasing state for my enemy in my 2D Top-Down game. The issue I'm having is since the origin of all my characters are on the feet (for more consistent Y sorting), sometimes m...
Jenelljenelle asked 29/1 at 17:20

7

Solved

I want to have a build mode where you can place buildings on a grid. Then you can press a Ready button to spawn enemy units that will use navmesh to find their way to a target position. But I don’t wa...
Anguine asked 4/6, 2016 at 17:10

5

Hello, I’m having a rather weird bug with Unity’s navmesh system (I’m using Unity Free 4.2). Basically, the navmesh system itself works correctly, the unit goes from A to B and avoids the obstacles. H...
Pyxidium asked 22/11, 2013 at 15:33

3

Hey all, I'm trying to get a simple grid based navigation system for my game working and I found this really great tutorial that does everything I need, but its outdate (4 years old) The code largely ...
Capua asked 2/1 at 18:31

5

Hi everyone, I'm trying to set up the navigation to work with TileMap in my game. However, when I ask Godot to compute the navigations path (here in red) through fully walkable tiles (here in brown), ...
Symphonia asked 30/9, 2023 at 18:26

14

Solved

For example, I have a map and a player. As a developer, I can never know what the player will do at particular times (wandering, fishing, or whatever). Meanwhile, there is a NPC who walks from locatio...
Darcee asked 20/12, 2023 at 12:21

3

Hi, is it possible to verify that some target is reachable by navigation agent without setting a target position for it first (via set_target_position)?
Translocate asked 10/12, 2023 at 15:19

23

Solved

So I've been working on hex movement via mouse input in a turn based game. Thanks to xyz I have constructed a flood fill algorithm that visualizes and makes an array of the possible moveable tiles. I...
Livestock asked 24/11, 2023 at 23:14

4

Solved

Hi. I want to make the control in the scrolling game concurrently by keyboard and mouse (click and move). But the mouse control don`t work properly. The character move to the edges (left-right) of the...
Peery asked 19/11, 2023 at 7:27

2

So I'm not sure if I'm missing something but I'm trying to make some nav obstacles to put on objects for an enemy to avoid and it seems to just ignore them completely. Is there some code I need to imp...
Newsdealer asked 22/11, 2023 at 6:55

2

I'm looking to create a movement system similar to that of The Witness or Mozilla Hubs, which involves conventional directional input and slowed motion when moving against barriers similar to that of ...
Krysta asked 29/10, 2023 at 22:54

2

I am currently working on getting a 3D tile-system running with predefined navigation meshes. To this end, I am creating my tiles all of the same size as follows in block bench: I am directly impor...
Estrade asked 16/11, 2023 at 20:22

1

[Pictures below to picture the problem] Hi all!! I'm trying to make a top down game where there are zombies who chase the player. I'm new to Godot and everything was fine until I had to make the ene...
Navarre asked 9/11, 2023 at 13:39

1

I’ve been trying to find a place where I can download NavMesh for Unity. However, I can’t seem to find a place to download it from. Is it in the asset store or where do I get it? Thank you in advance!
Airscrew asked 7/7, 2020 at 4:24

3

Hi everyone ! I'm trying to change a global variable (of an upgrade) through another node. I have an upgrade menu in which there are many of them and each have and export variable written as upgrade ...
Meggs asked 27/10, 2023 at 18:22

2

Hi all, I've just started on Godot and one thing I struggle with is the viewport navigation. I'll keep trying to use the standard settings, but everything else I use works with option + left click, m...
Millhon asked 19/10, 2023 at 21:40

© 2022 - 2024 — McMap. All rights reserved.