x

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"

2D 2 player game's second player animation not going left when player moving left

Hey so i'm working on a 2D local multiplayer game on one keyboard. The animation for the second player works fine when moving right but when moving left the player still uses the moving right animation. To control the second player I used blueprint interface to connect the second player to controls. Anyone know how to fix this? Any help is appreciated.

Product Version: UE 4.21
Tags:
more ▼

asked Jan 23 '19 at 11:36 PM in Blueprint Scripting

avatar image

RpgSlayer707
44 1 1 5

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

You didn't really give too much info here but maybe this will help https://www.youtube.com/watch?v=J0j58XStGVs&t=6m50s

more ▼

answered Jan 24 '19 at 12:20 AM

avatar image

Washniac
5 1 2

avatar image RpgSlayer707 Jan 24 '19 at 12:52 AM

Ok sorry for not providing enough information. Tell me if this helps. I have the first player and he works fine. I duplicated that character exactly and created a move interface for him. The input (Left arrow and Right arrow) for the second player activate in the first players blueprint and using the interface, transfer to the second players movement and makes the character move. For some random reason though, the character just does the move right animation when moving left.

avatar image RpgSlayer707 Jan 24 '19 at 05:42 PM

Nevermind I fixed it. For some reason I had to add an extra rotate node. Thanks for the help though!

(comments are locked)
10|2000 characters needed characters left
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