Make navigation mesh edge connections optional
Makes navigation mesh edge connections optional.
This commit is contained in:
parent
fd4a06c515
commit
f986b52b3c
23 changed files with 230 additions and 2 deletions
|
|
@ -461,6 +461,13 @@
|
|||
Returns the map's up direction.
|
||||
</description>
|
||||
</method>
|
||||
<method name="map_get_use_edge_connections" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<param index="0" name="map" type="RID" />
|
||||
<description>
|
||||
Returns true if the navigation [param map] allows navigation regions to use edge connections to connect with other navigation regions within proximity of the navigation map edge connection margin.
|
||||
</description>
|
||||
</method>
|
||||
<method name="map_is_active" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<param index="0" name="map" type="RID" />
|
||||
|
|
@ -508,6 +515,14 @@
|
|||
Sets the map up direction.
|
||||
</description>
|
||||
</method>
|
||||
<method name="map_set_use_edge_connections">
|
||||
<return type="void" />
|
||||
<param index="0" name="map" type="RID" />
|
||||
<param index="1" name="enabled" type="bool" />
|
||||
<description>
|
||||
Set the navigation [param map] edge connection use. If [param enabled] the navigation map allows navigation regions to use edge connections to connect with other navigation regions within proximity of the navigation map edge connection margin.
|
||||
</description>
|
||||
</method>
|
||||
<method name="obstacle_create">
|
||||
<return type="RID" />
|
||||
<description>
|
||||
|
|
@ -641,6 +656,13 @@
|
|||
Returns the travel cost of this [param region].
|
||||
</description>
|
||||
</method>
|
||||
<method name="region_get_use_edge_connections" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<param index="0" name="region" type="RID" />
|
||||
<description>
|
||||
Returns true if the navigation [param region] is set to use edge connections to connect with other navigation regions within proximity of the navigation map edge connection margin.
|
||||
</description>
|
||||
</method>
|
||||
<method name="region_owns_point" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<param index="0" name="region" type="RID" />
|
||||
|
|
@ -707,6 +729,14 @@
|
|||
Sets the [param travel_cost] for this [param region].
|
||||
</description>
|
||||
</method>
|
||||
<method name="region_set_use_edge_connections">
|
||||
<return type="void" />
|
||||
<param index="0" name="region" type="RID" />
|
||||
<param index="1" name="enabled" type="bool" />
|
||||
<description>
|
||||
If [param enabled] the navigation [param region] will use edge connections to connect with other navigation regions within proximity of the navigation map edge connection margin.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_active">
|
||||
<return type="void" />
|
||||
<param index="0" name="active" type="bool" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue