Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Need help with Godots Navigation system for my enemy AI (3D)

A topic by Paul Kueppers created 1 day ago Views: 24 Replies: 1
Viewing posts 1 to 3

Hey guys! I am a noob at navigation and I am in desperate need of help.  I have an enemy AI that has a NavigationAgent3D, there is a nav mesh and everything. The map is pretty large and the enemy teleports occasionally  between spawn points. When patrolling to a waypoint ( there are 5 per room in my game) it 1. never reaches the target and keeps on moving though I programmed it so it does stop when the target is reached and 2. still gets stuck on corners and objects ( I've set up NavigationObstacles3D). I have been experimenting with different cell sizes and certain values inside the NavRegion and NavAgent, but it just does not work (tbh I also don't really get it). Am I missing something? What could be done to fix this?

Thank you and Best,
PK

Moderator moved this topic to General Development
Moderator

(moved to the right category)