Api Sandbox Navigation CalculatePathRequest
struct

CalculatePathRequest

public sealed struct CalculatePathRequest

Defines the input for a pathfinding request on the navmesh.

Fields

Name Type Description
Start Vector3 Start position of the path, should be close to the navmesh.
Target Vector3 Target/End position of the path, should be close to the navmesh.
Agent NavMeshAgent Optional agent whose configuration is used for path calculation.
Assembly: Sandbox.Engine Namespace: Sandbox.Navigation Full Name: Sandbox.Navigation.CalculatePathRequest