I’m working on a kingdom simulator and I have 2 big problems at the moment.
I have a player controller controlling a Camera(Pawn)
And I have NPC’s (Character)
Both use collision type Pawn, although the camera has been set to NoCollisions.
I created a default size landscape.
Dropped a nav-mesh on it
Added 4 blocking volumes to significantly decrease the size of the map so you can’t see the edges.
I resized the nav mesh’s borders to be slightly inside the blocking volumes.
This is where stuff goes wrong.
NPC’s have no problem obtaining a random location inside the blocking volume, the blocking volume only removes a piece of the nav-mesh where it’s planes intersect with the nav-mesh. Resulting in navigable terrain inside the blocking volume.
*NPC’s are not blocked by the small obstruction in the nav-mesh, they just walk over unnavigable terrain to reach the navigable terrain.
*NPC’s are not blocked by the Blocking Volumes, they just walk straight trough them.
The Camera(Pawn) shows similar problems.
*The Camera (pawn) is not blocked by the Blocking Volume, allowing you to leave the landscape. Which in turn makes debugging rather hard if you return to game and find nothing but a black screen.