Some entities are solid and/or interactive and move around. If “Dynamic” is enabled in worm.ini, a user can annotate the mesh with dynamic entities. This will provide data structures that further detail the navigation mesh with obstacles and interactive elements that an AI agent would otherwise ignore. In the JSON export, dynamic collision will be a separate section in which dynamic entities are described. Those polygons in the mesh that intersect with dynamic objects have an internal graph (internal_vis_graph) that describes how an agent should move around them.
To annotate a navigation mesh with dynamic objects:
“stage” should be 1 or 2. Setting stage to 3 will annotate ladders, which may already exist if using a NAV file. This is not recommended because they will duplicate (as of 1.1.2)