hi,
my AI characters are following the leader just fine, but when they lost navigation like they are lost / stuck,
they will teleport to the leader but they follow the rotation of the leader and position as defined in formation, making it look very weird.
if i keep moving away from the lost/stuck position, my ai characters just disappeared and i could see them from the lost/stuck position which is far away.
i would like them to reset on leader position and act just like initial ,
how can i achieve it?
here is my formation setting
12
Moving and getting stuck is mainly handled by the move AI and the movement component you're using. What movement component are you using, e.g. NavMesh agents?
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
here is my move ai setting
1
2
3
4
and im using nav mesh agent for my ai combatants, the scene has navmesh baked but the ais can stuck sometimes when walking into narrow place. that way, if i continue leaving them behind, the ai started respawning+following+rotating alongside character in an undesired manner (they always stay the exact position like it is defined in the formation, not able to move anywhere, not the normal respawn behavior) and disappeared if it gets too far.
this also happens when there is navmesh that is not connected when baked. when i moved pass the disconnected navmesh area and, they will respawn and like the problem i stated above . if i go back to previous baked area, they are back to normal.
how can i make them respawn but still maintaining normal behavior?
The respawn will simply place the combatants at their new positions, might be that that's an issue in your setup. I'll look into it, maybe adding an option to force actual spawning instead of just placing them there.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!