I have two kinds of navigation, but walking and water, and I have 2 kinds of monster, one can walk on water, a kind of can't slice,
Then I can't slice through the monsters will walk along the edge of the water, will lead to half monster on the surface of the body, is very ugly
Excuse me what method can let can slice through the border to keep a certain distance away from the water?
CodePudding user response:
Add buffer ah, see what pathfinding software you use, A *, for example, can add RVO to obstacles to solve this problem