C++ based character wont move
I was following FPS tutorial from UE wiki page (https://docs.unrealengine.com/latest/INT/Programming/Tutorials/FirstPersonShooter/index.html) but for some reason my character refuses to move.
I have made everything according to the tutorial and even redone entire thing altogether just to be sure. I have checked i have right character spawned and actions in project setting have correct name (the screens). I have placed debug line in movement functions to be sure they're being fired when the right key is pressed and value is correctly set to 1.0 when that happens.
At this point I'm all out of ideas why character wont move. I'm pretty sure its just some basic setting but cant figure what.
My code in character class
asked Jul 31 '17 at 10:20 PM in C++ Programming
Like I have written answer was really really beginner's mistake. I was so focused on editor settings and character code that I neglected to check GameModeBase class.
Error was missing line in constructor of GameModeBase class:
I would still like to know why it caused that though.
Follow this question
Once you sign in you will be able to subscribe for any updates here