When I press play the tank rotates but it doesnt move, I am using unreal engine 4.25 I dont know if this has anything to do with it but this version has some bugs so I just mentioned it
Here is my code:
Header file:
Have you tried logging out the values you’re getting for MoveDirection?
the values from MoveDirection are not changing(remain at 0 ), even while pressing the W and S keys

In your project settings what do you have under Input?
And your input binding in code?