Skip to content

NavGridAgent Steer Towards Target

Steers a NavGridAgent toward a target transform by choosing the next cell direction each arrival step.

This is steering behavior (no A* full-path solve), useful for reactive chase and homing behavior.

Parameter Description
Agent NavGridAgent to steer.
Target Transform to steer toward.
No Reverse Avoid immediate reverse direction when possible.
Randomize Ties Random tie-break for equal scoring options.

Notes

  • Steering evaluates next-step direction at cell centers.
  • Steering targets can be outside the NavGrid; the agent still picks the best valid neighbor step.

See also