I've been creating this game with pathfinding AI, and I came across this little problem.
I can't manage to get the pathfinding right and this NPC likes to Walk around the store to get to the end position. He ends up running into a wall and staying.
I need to know how to get the NPC not able to collide with walls, but can with floors.
Thanks for all help!
Okay, there's not really a good way to get something to only interact with certain things. So let's try it a different way:
Give the NPC some pathfinding nodes
This allows you to use Pathfinding from node to node, which allows you to make custom points to path to and for you to get around tricky bits which the default pathfinding has trouble with. This also has the benefit of having increased fidelity in some cases and better scriptability.