How do I read input axes from C++?
How can I read input axes from C++ code without setting up events? In Blueprint I can just read the axis values with the
Any of the following lines I tried always return
What do I have to do to be able to read input axes, preferably from a PlayerController?
It is actually possible, you have to bind, but you can get the input in Tick, if you use
Unfortunately you can just get key from InputComponent without key binding. If I correctly understand you, you want to do something like this:
Best regards, Gleb
answered Nov 25 '14 at 04:44 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here