Plush

NavigationProfile#

PlushEngine · Type index

Namespace: PlushEngine.Navigation (using PlushEngine.Navigation;)

The walking capsule and build resolution used for a static 3D navigation bake. Distances are metres.

public sealed record NavigationProfile

Members: CellHeight · CellSize · Height · MaxSlopeDegrees · Radius · StepHeight

CellHeight#

public float CellHeight { get; init; }

Initial value: .05f

Vertical bake cell size; 0.05 m by default.

CellSize#

public float CellSize { get; init; }

Initial value: .15f

Horizontal bake cell size; 0.15 m by default.

Height#

public float Height { get; init; }

Initial value: 1.8f

Total capsule height; 1.8 m by default.

MaxSlopeDegrees#

public float MaxSlopeDegrees { get; init; }

Initial value: 45

Maximum walkable slope in degrees; 45 by default.

Radius#

public float Radius { get; init; }

Initial value: .3f

Capsule radius; 0.3 m by default.

StepHeight#

public float StepHeight { get; init; }

Initial value: .25f

Largest traversable step; 0.25 m by default.

Source#