Hallo,
is it ill-advised to use both seeker.StartPath(path)
and richAI.destination
for the same agent? I mostly use .destination
, but sometimes - for example for constructing a flee path - I have to use .StartPath(path)
, and it doesn’t work correctly because before that I had to set .destination = new Vector3(float.PositiveInfinity, ...)
to let the agent stop. While I already feel that setting the destination to PositiveInfinity
is a bit ‘unclean’, now I also have to set the destination to the last point of the path in the callback of .StartPath()
, which feels even more like a hack.
Is there a better way? Or is it just a bug that the agent doesn’t start the path via .StartPath()
in this case?