How to use UMG Buttons to make character go right, left and jump?
I'm using the virtual joysticks to control my character in my game but this comes with gameplay issues for my level so i need to use umg buttons for character input. I already tried many ways to link a button to a character action like jump but nothing works. Any help?
asked Jan 19 '16 at 06:09 PM in Blueprint Scripting
can you post your widget blueprint so we can see how you are trying to communicate with your character from your pawn? off hand am thinking in your widget you could call Get Owning Player, and drag off that Get Controlled Pawn, and drag off that Add Movement Input. Set Scale to 1 since we don't have any axis values to work with and use whatever button on your widget to trigger the Add Movement Input. the vector supplied is going to depend on desired movement type.
Follow this question
Once you sign in you will be able to subscribe for any updates here