Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

WalkToTargetOptions

How a walkToTarget step walks to its target.

Property Type Default value Description
face? boolean false Whether it turns to face the target as it arrives.
reach? number 0 Metres from the target, on the ground, the walk ends within, as ChaseTrait’s reach, Unity’s stoppingDistance and Unreal’s AcceptableRadius. Never under the walk’s own arrival radius, and, where the navmesh reaches no nearer, as for a target on the ground’s edge, never under 1 + √2 of it.
repathDistance? number 1 Metres a target may move, on the ground, before the walk sets off for it again, as Unreal’s observed blackboard tolerance. A smaller one follows a moving target closer and searches the navmesh more.