I have a tankAI that moves with MoveToLocation function. Now the pawn moves correctly to the location, but when it goes around objects and such, it never rotates the pawn. I want it to rotate into the direction it is going. I’m looking for something like a projectile’s “Rotation Follows Velocity”.
What can i use for this?
Find Look at Rotation is a good one to use, if you get the current location and velocity it should give you the rotation
I was dumb, you’re right, instead of forward vector you need to get velocity
I havent tested this yet and i will soon, but isn’t the problem that the forward vector won’t change because the tank doesn’t rotate?
It should work, but it doesn’t work completely. It does some weird rotations while moving. I’ll provide a video when i can to clarify the problem.