09bc9eb101
Change the entire navigation system. Remove editor prefix from nav mesh generator class. It is now used for baking at runtime as well. Navigation supports obstacle avoidance now with the RVO2 library. Nav system will also automatically link all nav meshes together to form one overall complete nav map.
31 lines
923 B
XML
31 lines
923 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="NavigationMeshGenerator" inherits="Object" version="3.5">
|
|
<brief_description>
|
|
This class is responsible for creating and clearing navigation meshes.
|
|
</brief_description>
|
|
<description>
|
|
This class is responsible for creating and clearing navigation meshes.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="bake">
|
|
<return type="void" />
|
|
<argument index="0" name="nav_mesh" type="NavigationMesh" />
|
|
<argument index="1" name="root_node" type="Node" />
|
|
<description>
|
|
Bakes the navigation mesh. This will allow you to use pathfinding with the navigation system.
|
|
</description>
|
|
</method>
|
|
<method name="clear">
|
|
<return type="void" />
|
|
<argument index="0" name="nav_mesh" type="NavigationMesh" />
|
|
<description>
|
|
Clears the navigation mesh.
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<constants>
|
|
</constants>
|
|
</class>
|