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
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@
|
|||
<argument index="0" name="mesh" type="Mesh" />
|
||||
<description>
|
||||
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>
|
||||
</method>
|
||||
<method name="get_collision_mask_value" qualifiers="const">
|
||||
|
|
Loading…
Reference in a new issue