Skip to content

Navmesh Link

Updated

A shortcut between two points: a jump, ladder or teleport.

Type
comp-navmesh-link
Script class
NavMeshLinkComponent
Per entity
One
Version
1.0.0

Read about it in NavMesh Links: what it does, how to use it from a script, and examples.

The props the runtime declares for this component, with their defaults and accepted ranges.

Prop Default Range
arcHeight 0 ≤ x ≤ 10
end
end.x
end.y
end.z
radius 0.001 ≤ x ≤ 10

Run it in the browser, read its scripts, and download it as an XR Creator project.

#pragma lifecycle(startup)
function startup() {
const component = self.parent.getComponent(NavMeshLinkComponent);
if (component) log(component.props);
}