My Tank is rotating fine but it is not moving at all

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

MoveDirection Logging

In your project settings what do you have under Input?

this is what I have, same stuff as I downloaded the project I didnt change any of it

And your input binding in code?

Aaah yes know I see it, the binding in my code was not the same as in the project settings thats why it didnt work . The “MoveForward” is supposed to be a single word not two and with a capital ‘f’ not a small one.

Silly me, sorry for wasting your time and thx for the help Dan.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms