Page MenuHomeFeedback Tracker

[Feature Request] calculatePath
New, NormalPublic

Description

While calculatePath with agents and "PathCalculated" EventHandler works most of the time, especially with the IsNil trick, I'd like to suggest to extend so that the function:

  • also works in UNSCHEDULED environment
  • directly returns the full set of the paths' segments: [[segment 0], [seg 1],...]
  • on roadnetworks allows to specify whether major or minor roads or dirt pathes should be preferred
  • allows to set a step size (meters) for the indivial points on the path to be returned
  • and ideally also works reliably in areas dense with obstacles (e.g. on Tanoa pathing fails for AI around the Temple Ruins in the South East, especially for paths leading from the nearby forrests down into the valley with the ruins)

This way, when AI has trouble finding paths by itself, one can easily implement scripted solutions with short intermediate moves.

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
General

Event Timeline

janh created this task.Jan 21 2023, 3:56 PM