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 NavMeshBake3DConstructors
NavMeshBake3D
public NavMeshBake3D()Starts as most engines' first agent: half a meter wide each way, two meters tall.
Fields
AgentRadius
public float AgentRadiusHow far from a wall the agent keeps, in meters.
AgentHeight
public float AgentHeightHow tall the agent is: the room it needs above the floor, in meters.
AgentClimb
public float AgentClimbThe tallest step it walks up, in meters.
AgentSlope
public float AgentSlopeThe steepest slope it walks, in degrees.
CellSize
public float CellSizeHow wide a cell of the scene is sampled, in meters; 0 for a third of the agent's radius.
CellHeight
public float CellHeightHow tall a cell is, in meters; 0 for half its width.
MinRegionArea
public float MinRegionAreaThe smallest island of floor kept, in square meters: smaller ones, a table's top, are left out.
