E
E
emilevi42022-04-20 00:15:24
Unity
emilevi4, 2022-04-20 00:15:24

How can I find out which navmesh zone the navmeshagent is in?

There are several types of areas (Areas) and you need to return the int index of exactly the one on which our agent is located

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
freeExec, 2022-04-20
@freeExec

If not this https://docs.unity3d.com/ru/530/ScriptReference/Na...

C
chelkaz, 2016-10-12
@Hellas

https://lodash.com/docs/4.16.4#difference

_.difference([2, 1], [2, 3]);
// => [1]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question