Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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?

Product Version: UE 4.10
more ▼

asked Jan 19 '16 at 06:09 PM in Blueprint Scripting

avatar image

21 6 10 12

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

Widget Movement

widgetmovement.jpg (131.6 kB)
more ▼

answered Jan 20 '16 at 09:34 PM

avatar image

1.2k 49 31 86

avatar image PlatinumBlade Jan 21 '16 at 07:14 PM

thanks for your help but it seems I figured it out earlier than your answer and got my problem fixed up by myself :), yay for me I think ahaha. Anyway,thanks for the help but im closing this answer as I'm done for now :D

avatar image DasBaron Jun 28 '16 at 07:27 PM

Any chance you can show us how exactly you fixed it?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question