Hi,
I’m trying to find which area my character is actually walking on. I’found the AstarPath.GetNode() and AstarClasses.Node.GetArea() but I can’t figure out how it works…
How to find the closest node and then get the area it belongs to ?
Hi,
I’m trying to find which area my character is actually walking on. I’found the AstarPath.GetNode() and AstarClasses.Node.GetArea() but I can’t figure out how it works…
How to find the closest node and then get the area it belongs to ?
Oh… just found out… ^^
AstarPath.GetNode( AstarPath.ToLocal ( myTransform.position ) ).area