Inconsistent questions about ai.velocity

Hello, I use ai.velocity.x for direction control, but each unit’s ai.velocity.x is not the same.
For example, the position is exactly the same. Walking in the horizontal direction, the unit A ai.velocity.x is 1.9 units B ai.velocity.x is 1.7. There are a lot of differences, what caused this problem, my object setting parameters are almost the same. How can I solve this, thank you.

Hi

Shouldn’t you also use velocity.z if they are walking in the horizontal plane?

I tried the change and it works fine now, thank you very much.

1 Like