Today, I was programming a custom character and faced some issues. First, i programmed my custom game mode and it works without any error after that i made a custom character code which looks like this:
CPP
H
and initialized it in my custom game mode like this:
but for some reason it doesn’t work, i get no errors but nothing changes.
I am sure i added the axis definitions in engine and i am sure the default game mode is set to my custom game mode. I am using the 4.3.1 version.
Can someone tell me why this happens and how to fix it?
You’ll make sure it’s then actually being called, and the value is usable.
Secondly, check that the bindAxis names are matching in both the editor and script.
And lastly, make sure in your constructor that ‘bUseControllYaw’ is true. (Same for Pitch and Roll).
And that should be it working! (Also make sure you are using your custom char in your GameMode).
(I have forgotten this so many times!!!) >:(
Try changing your Solution Configuration in the dropdown at the top of the screen. I keep mine on Development Editor unless I actually want to debug a build.
Thanks for the help, but… nothing seems to change, i tried everything you said and recognized that the MoveX/MoveY aren’t even being called, i am pretty sure the editor axis mapping and the code matches, i need to fix this urgently. I am using 4.4.0 looking forward to getting some more help!