Scripting API

Scripting API

NavArea3D

Struct in Abyss.Navigation, from Abyss.Navigation.

A kind of floor of the project's own, beside Walkable and Not Walkable: water, mud, a road. A navmesh is baked with each floor's area (NavMeshModifier3D, NavMeshModifierVolume3D), a path costs each meter of it its NavArea3D.Cost, and an agent walks only the areas its Area Mask ticks.

public struct NavArea3D

Properties

Jump

public static NavArea3D Jump { get; }

One for a link that is jumped, as most engines start with: twice Walkable's cost, drawn orange.

Fields

Name

public FixedText32 Name

What it is called, as an Area and an Area Mask list it.

Cost

public float Cost

What a meter of it costs to walk, against Walkable's 1.

Color

public Vector4 Color

What it is drawn in on the navmesh, in the Scene.