docs: Caveats of NavigationMesh.create_from_mesh
Adds a note explaining the requirements of the given [Mesh] when converting a [Mesh] to a [NavigationMesh] using `NavigationMesh.create_from_mesh`.
This commit is contained in:
parent
beb8fd5e8b
commit
cab107d063
@ -28,6 +28,7 @@
|
|||||||
<argument index="0" name="mesh" type="Mesh" />
|
<argument index="0" name="mesh" type="Mesh" />
|
||||||
<description>
|
<description>
|
||||||
Initializes the navigation mesh by setting the vertices and indices according to a [Mesh].
|
Initializes the navigation mesh by setting the vertices and indices according to a [Mesh].
|
||||||
|
[b]Note:[/b] The given [code]mesh[/code] must be of type [constant Mesh.PRIMITIVE_TRIANGLES] and have an index array.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_collision_mask_value" qualifiers="const">
|
<method name="get_collision_mask_value" qualifiers="const">
|
||||||
|
Loading…
Reference in New Issue
Block a user