About MaxSpeed and End Reached Distance in AIPath

When maxSpeed is relatively large, the distance the character stops from the target is always less than the value of End Reached Distance, the greater the speed, the more obvious the gap. How to make the AI stop more accurately at the distance of End Reached Distance?


When the agent detects that it is close enough it will begin to slow down as quickly as it is allowed to. This is controlled by the acceleration property on the agent.

1 Like