NavMesh Dynamic Builder
This component belongs to the following package:
com.yahaha.sdk.navmesh
The NavMesh Dynamic Builder Component enables the creation of dynamic navigation meshes (NavMesh), enabling characters to identify paths between their current position and destination using a runtime-updated mesh. You can attach this Component to any object in your scene to start generating these meshes. Note that the Patrol Monster already contains this Component. To visualize generated navigation meshes, go to Game Settings > Navigation and toggle the Show NavMesh option.
Property | Description |
---|---|
Ignore Trigger Colliders | When enabled, exclude trigger colliders during the NavMesh generation process. |
Move Threshold | Set the minimum distance the object attached with the Component must move before updating its NavMesh area. Minimum value is 0. Default value: 0.1. |
Size | Define the dimensions of the NavMesh area to be generated. Default value: 20, 5, 20. |
Center | Set the center of the NavMesh area to be generated. Default: 0,0,0. |
Events and Actions
Events
- None
Actions
- SetDirty: Sets the dirty flag, indicating that the NavMesh needs to be regenerated.