can someone help me understand character control blueprints?
I just started using Unreal, and I've got it set as default third person. I'm looking at the ThirdPersonCharacter event graph, and I'm trying to understand how control inputs are handled (and how they could be modified). I've tested the controls in play mode, and they seem to be the standard wasd, spacebar and mouse, with no attack or interact controls (but I haven't tested every key). But in the event graph, I can't find any reference to actual keyboard or mouse inputs.
I can see input axis's for right and forward (or up) in "movement input" and "mouse input", and I'm assuming that these are scripts/code that retrieve keyboard and mouse input, but I don't know how to open and view them, much less modify them or create my own. I am assuming that if I wanted to change or add a control, that I'd have to modify or write a script, and then implement it in the event graph?
asked Jan 12 '17 at 06:44 AM in Blueprint Scripting
Go to "edit". at the bottom click "project settings" then under "engine" "Input" you will see where the key mapping and mouse axis is. Blueprints reads this. For instance if you want an action key like "E" you would click the plus button for action mapping and add E and name it interact or something. then on the character BP or something you can use the reference to the "E" key to execute something. Have fun with it. Just remember what the default setting was if you change anything. I am not sure if there is a reset to default option or else you may have to start back up on a new project =)
answered Jan 12 '17 at 08:00 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here