Scripting API

Scripting API

NavMeshModifierVolume3D

Struct in Abyss.Navigation, from Abyss.Navigation.

A box that makes the floor within it an area as a navmesh is baked: a pond painted on one big terrain's mesh, a strip of mud, a spot no agent goes. Baked into the navmesh of each surface that collects its entity.

public struct NavMeshModifierVolume3D

Remarks

Where boxes meet, Not Walkable wins, then the one baked later. Turned as its entity is, but seen from above: a box tipped over makes the area of what it covers from above.

Constructors

public NavMeshModifierVolume3D()

Two meters across, cutting out the floor within it.

Fields

Center

public Vector3 Center

Its middle, in its entity's own units.

Size

public Vector3 Size

How big it is along each of its entity's axes, in its own units.

Area

public int Area

The area the floor within it is, by its place in Project Settings ▸ Navigation.