Scripting API

Scripting API

NavAgentType3D

Struct in Abyss.Navigation, from Abyss.Navigation.

A kind of agent a navmesh is baked for: how wide, how tall, the tallest step it walks up and the steepest slope it walks — what decides where it can go. Listed in Project Settings ▸ Navigation; a NavMeshSurface3D names one by its place there.

public struct NavAgentType3D

Properties

Humanoid

public static NavAgentType3D Humanoid { get; }

Most engines' first agent: half a meter from a wall, two meters tall.

Methods

Bake

public readonly NavMeshBake3D Bake()

How a navmesh is baked for it.

Fields

Name

public FixedText32 Name

What it is called: Humanoid.

Radius

public float Radius

How far from a wall it keeps, in meters.

Height

public float Height

How tall it is, in meters.

StepHeight

public float StepHeight

The tallest step it walks up, in meters.

MaxSlope

public float MaxSlope

The steepest slope it walks, in degrees.