Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Skydome |
Hi so I am a little bit new to tile maps. So I am using ASTAR algortihm to identify a section of the map as wall. So that the npc moves but this is happening
The obstacle avoidance is working by detecting the which tiles have collision shape. But I need to make the two tiles adjacent to the collision tile also be avoided. Because otherwise the character is getting stuck on the edge of the wall.
Any advice will be greatly appreciated.
Currently I used the world to map them map to world to disable the adjacent tiles. But now when the player stands in those adjacent tiles the navigation just stops.
Skydome | 2022-06-05 20:11