Hello! I have a script that makes a bunch of AI move, but for some reason, instead of the AI moving around eachother they try and walk straight through them??? Shouldn’t they acknowledge the fact that they exist?
1 Like
are you using MoveTo() or pathfinding service?
pathfinding
From what it looks like, the ai don’t collide with each other, so the pathfinding doesn’t take them into account.
The AI do collide with eachother
Oh, you meant the allies colliding with each other. When you compute the path, it just looks at where the ai are currently, and base the path off that. They start moving along their paths, which intersect, resulting in collisions. I don’t have a solution that might drain performance.