I made a slime AI that uses a simple move to blueprint to get around. But the sometimes the slimes get stuck together and just stop moving altogether and stuck in their idle animation. I am new to Unreal Engine and have no idea how they got stuck or how to fix it. Can anybody help me?
How do you move them? I can see that they are intersecting which shouldn’t happen. Do they intersect/get stuck on world objects too?
In this case, you either have to fix their collision and allow them to push each other (not really a living thing behavior) or use an avoidance system like boids.
They don’t get stuck on world objects. All that happens is slimes using moveTo in the nav bounds Mesh (which I scaled to be very large in height and width but not underground). When 2 slimes move towards each other, they just avoid each other by either going left or right.
Ok. On your screenshot I can see that some didn’t manage to avoid each other. Maybe the reason is that the avoidance path is blocked. Check your logic there. Other than that you might just turn off their collisions and try to see what happens.
Have you tried increasing collision sizes?
Try plugging the on Fail execute on the AIMoveto into the delay as well as the on success