AI object with rigidbody component

Hello! The AI object can be drived by rigidbody component? Then I can use getComponent().velocity …

Hi

I’m not quite sure what you mean. Do you think you could elaborate?

Drived by speed is easily understand, so I will ask whether Ai gameobj can be drived by rigidbody without default speed change or not?Thank U!

Hi

The included movement scripts can unfortunately not be driven by physics, if that’s what you are asking.
It is possible to write a custom movement script which does that however: https://arongranberg.com/astar/docs/custom_movement_script.html

Thank U very much indeed!

1 Like