Did you reparent the BP_PawnTank to be son of Tank?
Double click on BP_PawnTank, Class Settings, Parent Class → Tank
I did
Could you show that please?
Could you add a log in SetupPlayerInputCimponent to see if that’s being called?
Also please use screenshots instead of a picture of your monitor.
Sorry I misunderstood your OP. I thought you meant you weren’t getting any logs.
Could you show the input mapping in Edit > Project Settings > Input
I’m not seeing an issue so would you mind sending me your project using the following link?
Please use File > Package Project > Zip Up Project within Unreal as this will ensure only required files are zipped up and things like the Binaries are excluded.
I downloaded your project and it’s working as expected. Are you sur you clicked inside the viewport first before pressing w or s?
oops…
If you use the drop down arrow from play and go to the settings
And check “Game Gets Mouse Control” then the viewport will automatically have focus when you press play.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.