Input from button pressed isn't working
I think this will have an easy solution that I'm missing but my mind has gone blank over this.
I have a little set up where you walk up to some objects and when you interact with them, your camera switches to one set up above these objects to act as an in-engine menu. From here, you can toggle between each object selection and pick one. My problem is, I want to move/switch between each object in the "menu" with A and D for left and right.
"D pressed" isn't firing though, which I assume has something to do with the fact that D is also the input for first-person character movement in the project. What am I missing that allows my D pressed in the blueprint to ignore the character movement and fire off? Thanks!
asked Apr 21 '15 at 11:57 PM in Blueprint Scripting
I figured it out, it was a stupidly easy solution but I didn't think to look here. So if anyone comes across this with the same issue, fear not!
Assuming you are using traditional W,A,S,D controls, chances are those Key Pressed in Blueprint don't do anything. This is because the presses are always being consumed by character movement.
To fix this, go into your Player Controller, find the InputAxis Movement nodes (Up/Right) and select them. In the details panel, untick the 'Consume Input' box and this should be fixed so long as Enable Input is done somewhere.
Hope this helps someone :)
answered Apr 22 '15 at 12:41 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here