Navigation Questions

5

Hi folks, struggling hard with integrating a Loading scene in between the main menu & gameplay scenes of my game. I'm using a singleton (GameState) to hold the path of the nextScreen and then swit...
Scratches asked 24/10, 2023 at 18:54

3

Solved

I just started using Navigation nodes and have the following setup: Navigation region in main scene: NavigationAgent2D that is represented by an enemy scene: NavigationObstacle2D, in this case a w...
Outlier asked 11/9, 2023 at 11:36

7

Hey all, working on a simple click to move game, using a GridMap to do level building which is working wonders for me, but I can't seemt o figure out how to get it to work with click to move. I've fol...
Classis asked 19/10, 2023 at 14:47

2

Hey all, I'm trying to make a simple click to move game and creating the world using the GridMap system (since its all in 3D) but having a little trouble setting things up. I can't seem to find any tu...
Sheley asked 17/10, 2023 at 16:19

3

Hey all, as my first project in Godot I am attempting to build a Windows 98-like interface. I made my File Explorer window out of the window node, as the click-and-drag movement, close button, and win...
Disenthral asked 16/10, 2023 at 0:28

1

Hi ! We are building an endless runner set in a mazy city where the player can take many different routes. The path-following script which controls player direction is based off the get_closest_offset...
Packard asked 16/10, 2023 at 13:37

4

Hello, I'm developing a tactical turn-based game and have encountered a challenge. I need to highlight all the tiles that are within a certain distance from a specific source tile using AStarGrid2D. ...
Homogamy asked 8/10, 2023 at 23:34

9

Godot 4.1.1 Following my course to a tee but my debugger is spamming 40+ of the same error while in their video the enemy is at least moving around the navmesh. Mine doesn't move at all currently. ...
Suffer asked 1/10, 2023 at 11:17

2

Solved

Hello guys. I have a problem with multi navmeshes. It look like this: So i have a script which Golem follows player when (for example) Vector3.Distance(Golem.position, Player.position) is <...
Lorettalorette asked 16/6, 2017 at 14:4

5

I'm trying to get the value of a variable in the parent node of the current node using get_parent().get_parent().CardSize when I print this value it works fine, returning the Vector. But the Debugger ...
Ogive asked 21/9, 2023 at 14:58

2

The server of my multiplayer game calculates a navmesh path for NPCs. This path is then synced over the network using a serialized Vector3 array obtained through NavMeshPath.corners. However, NavMeshA...
Befuddle asked 10/12, 2018 at 14:29

2

How can NavMeshPath be serialized in order to sync it across the network with other clients? Currently I’m using Vector3 positions and SetDestination, but this does not guarantee the same path on ever...

2

I have several levels with nodes that rotate constantly (not the whole level but certain nodes in it as the tileset, obstacles, main parts of the level etc), after all the player, camera etc is not in...
Outland asked 5/8, 2023 at 2:2

2

It's kind of hard to describe so i'll do my best. I am working on a kind of city builder game and one of the first mechanics I am implementing is the ability to create roads. On these roads I want the...
Kiele asked 22/6, 2023 at 20:57

1

Solved

I have been having an odd issue with the new obstacle avoidance in 4.1, but unfortunately, I'm not able to reproduce it in a minimal reproduction project. I'm not sure what's causing it, but here are ...
Contention asked 22/6, 2023 at 4:47

2

Solved

I'm not too new to Godot but also not too advance. I've looked around for quite a bit but I couldn't find good resources on baking navigation regions in 2D I understand that the 2D navigation polygon ...
Monad asked 5/4, 2023 at 19:35

13

I have in goal to make a sort of 3D RTS style of game which would require hundreds of AI navigating the map. I created a 600 x 600 plane and then wrote a script to randomly scatter 500 five meter cub...
Shellans asked 21/11, 2022 at 16:27

3

I have a broken fence that I want the enemies to be able to pathfind through but not the player, is there any way I could do this?
Anticlimax asked 8/1, 2023 at 23:5

1

Hey! is_target_reachable() in $NavigationAgent3D causes powerful lags. FPS down to 2-4 when monster can't reach me. Is this a problem with the engine, or am I using this function incorrectly? My code...

4

Solved

Hello there, I am quite new to Godot and am having a blast trying out new things with it, but currently I am stuck with a problem that I can't seem to figure out, although it seems pretty simple. Assu...

© 2022 - 2024 — McMap. All rights reserved.