Hi, on landscapes with lots of rocks, trees and various geometry bumps, an AI pawn can get stuck while following its navmesh path. Would you have any recommandation to:
- prevent this from happening
- being able to detect when this is happening
- unstuck the pawn when happening
You can line tracing, or maybe a collision sphere, to detect certain actors that should be avoided. If stuck, you can have the pawn, step back to its previous location and try again.
Thanks AlonzoCPO. Yes I guess I can work on that, but that’s a bit vague though I’d like to know if some game developers had this problem already and if they can provide hints on the way they solved it.