hello.
i want turn-based game and i need to avoid characters with pathfinding(need to know the exact length of the path).
i make 1 blueprint for all characters in game. Version 4.14.1
i can use 2 ways:
:place “nav modifier” to characters, but when he changes his location, “nav modifier” doesnt move with them.
:use “can ever affect navigation generation” in “capsule collision” with “dynamic obstacle”, but i cant turn it off runtime for free moving active character.
How can i use “can affect navigation generation” for “pawn”? Becouse i can do nothing with this boolean on or off.
i think i cant use “RVO avoidance” or “DetourCrowd”, becouse i need to know the exact length of the path.
Thanks.
as an easy solution, you could place invisible dynamic obstacles at the place of pawns (always remove the one corresponding to the selected character).
but it a turn based game if you need tiles, you could use a tile based A* pathfinder, you can find a solution in the turn based sample game.
How can i disable affect navigation on my pawn in realtime? I need to disable it becouse my pawn always stucks in his own affect navigation radius when moving.