- Home /
Aron Granberg Navmesh navigation not detecting objects on icosphere
Sorry if I'm being a bit of an idiot, but I've been tearing my hair out for a few days trying to get navigation working on a sphere, or something that resembles a sphere. At the moment I have managed to use Aron Granberg's navigation system to set up this:
The path is being generated fine, however the navmesh does not seem to be accounting for the obstacle that is circled in red; is there any reason you can see or am I going about this problem completely wrong?
Navmesh settings:
Answer by Cherno · Jun 22, 2015 at 06:08 PM
This might be better asked in Granberg's own forum.
Does the "obstacle" have a GraphUpdateObject component, and does the GUO actually block the graph? On the screenshot, it looks like the graph doesn't register the object.
Yeah, sorry if I wasn't clear initially in describing the problem, but you are right: the problem is that the graph isn't registering the object and I'm not sure why.
So the obstacle has a GUO, and the GUO's bounds are set up in a way that they should intersect with the navmesh?
I didn't realise I had to out a guo on the object, hopefully that should fix it, I'll try it when I get back from holiday, thanks you've been a great help!
Glad to be of help.
If you need to make the graph register a GUO during runtime, you need to call this code from the GUO object:
GetComponent<GraphUpdateScene>().Apply();
Your answer
