Control how much time ai spend on going to node

So can we control how much time ai spends to complete his path to some node?

Example: we have 2 nodes and I want to ai go from first to second just in 2 seconds.

P.S Better to have solution which not related to tuning ai speed, because even when distance between nodes changes I still want 2 seconds for ai to spend.

Hi

Controlling this exactly is not possible with any of the built-in movement scripts. You will need to write a custom movement script to get this functionality. See https://arongranberg.com/astar/docs/custom_movement_script.html

1 Like