Z
Z
Zefirot2021-07-18 08:50:14
Unity
Zefirot, 2021-07-18 08:50:14

How to know if agent.SetDestination goal is reachable?

I'm sending from one object to another via agent.SetDestination, but how can I check if the path is currently available?
According to the game, sometimes it can happen that the path is blocked, you need to remove some object and the path will open, only then the path will be available ...
So the question is - how to find out if the path is available at the moment?
And then the question is - once the obstacle is removed, how to update the mesh map (Bake to use)?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question