- Home /
Question by
infinitypbr · Apr 23, 2014 at 04:58 PM ·
navmeshnavigation
A function to tell if an object is on the Nav Mesh?
Hello!
i keep getting this "SetDestination" can only be called on an active agent that has been placed on a NavMesh. error. I know what the error means, but I'm not sure which character it's about.
I'd like to have a way to discover if the character is on a NavMesh before calling the Set Destination. is this possible?
Thanks!
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613143417im_/https://answers.unity.com/themes/thub/images/avi.jpg)