How to make an object an obstacle for some units but passable ground for others

Hello,

I’m working on pathfinding for a squirrel at the moment. So far, I’ve got the squirrel going from tree to tree. It works relatively well but then it tried to take a shortcut across a river. I need the river to be passable ground for some gameObjects but I need the squirrel to avoid it. How do I go about doing this? I’m using one grid graph.

Hi

You can use tags. See http://arongranberg.com/astar/docs_dev/tags.php

Thanks Aron. Looks great!