Difference between revisions of "Category:Navmesh"

1 byte added ,  12:43, 5 October 2016
imported>Death From Above
imported>Death From Above
Line 14: Line 14:
The navmesh will now have bright pink triangles; these are parts of the navmesh that are initially disabled, that the AI will navigate around. When the car object is scrapped, the triangles will then be enabled, allowing the AI to navigate through them. [[File:Creation_Kit_-_Navmesh_-_Scrappable_Objects_002_-_Linked_Precuts.png|thumb|alt=Screenshot of buggy navmesh editing; the selected car object should be visible, but isn't for some reason|The bright pink navmesh triangles are triangles that are initially disabled, and will be enabled once their linked object is scrapped.]]
The navmesh will now have bright pink triangles; these are parts of the navmesh that are initially disabled, that the AI will navigate around. When the car object is scrapped, the triangles will then be enabled, allowing the AI to navigate through them. [[File:Creation_Kit_-_Navmesh_-_Scrappable_Objects_002_-_Linked_Precuts.png|thumb|alt=Screenshot of buggy navmesh editing; the selected car object should be visible, but isn't for some reason|The bright pink navmesh triangles are triangles that are initially disabled, and will be enabled once their linked object is scrapped.]]


For some reason, this specific instance of the car object is not visible in navmesh editing mode, so it's hard to see why the car object takes up such a large area of the navmesh. The reason it does, is that it's bounding box intersects with those navmesh triangles, causing them to be linked to the object when we clicked <code>Link Precuts for Selection</code>. This can be resolved by essentially creating an empty space in the navmesh, around the object's bounding box, and then creating new navmesh triangles that better fit the car object.
For some reason, this specific instance of the car object is not visible in navmesh editing mode, so it's hard to see why the car object takes up such a large area of the navmesh. The reason it does, is that it's bounding box intersects with those navmesh triangles, causing them to be linked to the object when we clicked <code>Link Precuts for Selection</code>.
 
This can be resolved by essentially creating an empty space in the navmesh, around the object's bounding box, and then creating new navmesh triangles that better fit the car object.