Hello everyone!
Thank you for taking the time to read this topic. I decided to start working on a game again for unity and i am relearning everything pretty much and i just made an simple enemy AI with an nav mesh agent. This works just fine for the cube(my simple terrain) that he is walking on but for some reason the baking doesnt include the structures i have placed on the map. Which consists out of a couple of fences and a fence gate i am working on. He just walks straight through them as if there is no collider for them. When i look at the bake it colors everything with the walkable tag. Is there an way for me to manually paint the walkable area or a way to include the structures in the bake so that they will be avoided by my enemy? Ill include a picture of the area that is involved with the issue
The light blue area is the baked area on where the enemy can walk and as you can see the fences and the gate are grey and not taken into the bake. I did find a nav mesh obstacle component i could add to the fences. Is that something i have to add to all the fences to keep the ai from walking through them when i addes 1 to a fence i saw a similar collider box appear that i have placed around the fences.
