#Navmesh Baked but scripted enemy doesnt move. Debug error mentions Merged Triangles

7 messages · Page 1 of 1 (latest)

flint prism
#

Greetings, I have been working on a level with heightmaps (HTerrain plugin) baked a mesh from it, baked a navmesh, but the enemy is refusing to work with any scale of the navmesh.

Can provide more screenshots, including of the enemy and world scripts

#

respectively, enemy and world scripts

graceful hearth
#

If you get this error msg the navigation map sync failed cause multiple navigation polygon vertices landed all in the same navigation map cell. As a result the wrong navigation polygon edges are merged together and some not correctly merged at all. At that point getting any path working is luck based. The common cause for this is overlap as navigation meshes are not allowed to overlap or intersect edges or a mismatch of your NavigationMesh bake properties and the navigation map properties. You need to fix that error.

#

Also what Godot version are you using cause that is very old script syntax. The "location" functions on the NavigationAgent were renamed months ago.

flint prism
#

old alpha code I didnt replace. I forgot to change the syntax to new GDScript

#

though I will try what you said on the navigation mesh too

#

thanks for the input