Hello! I just created my FPS enemies by following this tutorial:
https://www.youtube.com/watch?v=UjkSFoLxesw&ab_channel=Dave%2FGameDevelopment
But I have a weird problem. At the start of game my enemy object is flying upward. When I change a rotation of object, it always move in the local Y direction of object.
I think it doesn't depend on the code. When I turn off Path Finding or set Obstacle Avoidance on 0, the enemy stops flying up.
Does anybody know the reason of this problem?
↧