mirror of
https://github.com/godotengine/godot.git
synced 2025-01-11 20:41:38 +00:00
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" />
|
||||
<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 New Issue
Block a user