NavFollowerOptions

Extends: roAssociativeArray

Options for new BGE.NavFollower(). Each is also a public field you can change later.

Properties

  • plane (BGE.SeparationPlane) — Which two position axes are the grid's x and y: xz (default, the ground in a 3D game)
  • sightInterval (float) — Seconds between line-of-sight checks. Default 0.25.
  • repathInterval (float) — Seconds between path searches while the target is out of sight. Default 0.5.
  • repathDistance (float) — Search again early once the target is this far from where the last search aimed, but
  • minRepathInterval (float) — Default 0.25.
  • arriveRadius (float) — A waypoint is reached within this distance. Default half the grid's cell size.
  • searchBudgetMs (integer) — Milliseconds of search per steer(): a long search runs over several frames. Default 0:
  • searchOptions (BGE.NavSearchOptions) — Passed to every search
  • pathWhileVisible (boolean) — Keep searching on the timer while the target is in sight, so a path is ready the moment
  • sightSnapRings (integer) — How far hasLineOfSight() moves an end out of a blocked cell. Default 2.