godot / 3.4 / classes / class_navigationmeshinstance.html

NavigationMeshInstance

Inherits: Spatial < Node < Object

Node that instances navigation meshes into a scenario.

Description

NavigationMeshInstance is a node that takes a NavigationMesh resource and adds it to the current scenario by creating an instance of it.

Properties

Property Descriptions

bool enabled

Default

true

Setter

set_enabled(value)

Getter

is_enabled()

If true, the navigation mesh will be used by Navigation.

NavigationMesh navmesh

Setter

set_navigation_mesh(value)

Getter

get_navigation_mesh()

The NavigationMesh resource for the instance.

© 2014–2022 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.4/classes/class_navigationmeshinstance.html