#AI error

1 messages · Page 1 of 1 (latest)

inland sierra
#

having some trouble with my game's AI as seen in the video I'll send. I think that somehow the navmeshagents are influencing each other but I'm not sure how.. idk not much info to go off of but if this error looks familiar to anyone I'd appreciate knowing the fix 🙏

inland sierra
#

also more than happy to provide extra information

crimson prairie
#

Try disabling Obstacle Avoidance on the agents.

#

that causes agents to avoid bumping into each other when moving

shell dome
#

Yeah it looks like the settings are just a bit too aggressive for your current setup. Try using values at about 1/3 the current size. Also, it looks like your enemy sprites are not parented in the center of the image, you should consider updating those enemies so that their origin is in the middle of the sprite. This will make it easier to tell if it's a navigation issue, and how much you need to adjust it

inland sierra
#

omg tysm for the reply!!

#

I'll definitely give that a shot

inland sierra
#

@crimson prairie @shell dome thank you guys so much it works 😭 InoriLETSGO

#

was high key stressing about it lmao

#

cause this is for a game jam that's finishing in like 16 hours and I had zero clue what to do with it