Check if my player is within the area


#1

Hi,
is there any way to test if the player character controller in my FPS (with no pathfinding on the player itself) is inside one of the “Graph Update Scene” Script areas? What would be the best approach to test for this?


#2

Hi

If you use the GraphUpdateScene component to apply a tag, you can check if the closest node has that tag (see e.g AstarPath.GetNearest(…).node.Tag).


#3

Thank you, I will try it out :slight_smile: