Scripting API

Scripting API

NavMeshBake3D

Struct in Abyss.Navigation, from Abyss.Navigation.

How a navmesh is baked: the agent it is for — how wide, how tall, the step it climbs and the slope it walks — and how finely the scene is sampled, which is worked out from the agent where it is not said.

public struct NavMeshBake3D

Constructors

public NavMeshBake3D()

Starts as most engines' first agent: half a meter wide each way, two meters tall.

Fields

AgentRadius

public float AgentRadius

How far from a wall the agent keeps, in meters.

AgentHeight

public float AgentHeight

How tall the agent is: the room it needs above the floor, in meters.

AgentClimb

public float AgentClimb

The tallest step it walks up, in meters.

AgentSlope

public float AgentSlope

The steepest slope it walks, in degrees.

CellSize

public float CellSize

How wide a cell of the scene is sampled, in meters; 0 for a third of the agent's radius.

CellHeight

public float CellHeight

How tall a cell is, in meters; 0 for half its width.

MinRegionArea

public float MinRegionArea

The smallest island of floor kept, in square meters: smaller ones, a table's top, are left out.