Class PathDisplacementDef
Moves a living enemy along its current authored path and lane; never teleports off path geometry.
public sealed class PathDisplacementDef
- Inheritance
-
PathDisplacementDef
- Inherited Members
Constructors
PathDisplacementDef(float)
Creates displacement; ambiguous predecessor paths are not traversed and units crossing inter-path gaps are ineligible.
public PathDisplacementDef(float distance)
Parameters
distancefloat
Properties
Distance
Signed world-space path distance: negative pushes toward entry, positive toward exit. Clamped to the current path's entry/exit.
public float Distance { get; }