Looks like PathFollower doesnt fully finish the final step at the end of the route, leaving it at the previous tick's interpolation position and angle.
I fixed this in a local override for my project, but thought the dev team should be made aware.
My fix:
Code: Select all
if (Time > 1.) {
Time -= 1.;
bJustStepped = true;
PrevNode = CurrNode;
CurrNode = CurrNode.Next;
if (CurrNode != null)
NewNode();
if (CurrNode == null || CurrNode.Next == null || (Options & MP_LINEAR) == 0 && CurrNode.Next.Next == null) {
//Do final interpolation to bring follower to its true end
Time = 1.;
CurrNode = PrevNode;
Interpolate();
CurrNode = null;
Deactivate(self);
}
}