+1 vote

Hello community!
First of all, Im using a 3d environment. Im implementing the AI movement via the Navigation Node in order for the AI characters to avoid walls and other environment objects. The problem is that the AI movement and the baked navigation mesh does not recognize other characters as obstacles, so they keep moving against each other or the player and never reaching the navigation node assigned.
Im currently managed to make the AI to stop if it detects that there is another character on the objective position. But if some kinematic body gets on the way the AI keeps walking towards it without advancing.
I dont know if I can set other objects as obstacles on the navigation mesh or if I should apply some steering behaviour for avoidance.
Does someone know a way to fix this problem?

Thanks in advance!

Godot version 3.3
in Engine by (67 points)

I found this post looking for the same answer as you. From what I've found so far, it's not possible, but Godot 4 looks like it will allow re-baking of the navmesh in code, so that MIGHT allow you to have other moving AI's to be an obstacle.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.