Navigation mesh

okej i have a problem with my ai in a game i have made a path that npc’s can only walk on by making the cost to be -math.huge and it works fine but what i have a problem with is that my path is certain is not correct, the navmesh corners are strange and go over what the road actually is and at one point the road go together but it doesn’t really (am bad at explaining because never encountered such a problem and don’t know what exactly the terms are)

What I have found as the problem is that the navigation mesh does not reproduce 100% the world geometry. but can this be fixed somehow

[image]


image
image

I found one thing that managed to solve it. if I separate my union part and add pathfinding modifier to all parts instead it seems to work but my question is why cant am have union part so you don’t have to have lots of parts?

I personally never use unions, i am pretty sure its just a myth even if you union a lot ofparts they still load individually, it doesnt reduce any type of lag atleast for me it never did so I just always group parts together so they dont take up a lot of space in the explorer but usually I just never use unions cause they are very weird and a lot of errors happend in the past when i had unions involved in code

1 Like

okey then I just don’t use them because if they don’t help with anything but just destroy, I’ll do without them

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.