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"

blueprint animation / event graph

hey guys, i have one 2d blendspace, and in the locomotion blueprint preview everithing is nice, but in the game when i press S the char legs shakes tooo much, when i press A or D, my char do the animations of move forward, and when i press to go to diagonals (like W+D) my char only moves forward, what i'm doing wrong? here is a link of what i'm telling > https://www.youtube.com/watch?v=RkbX_58ozek&feature=youtu.be < and here is the print of my blendspace

alt text

Product Version: UE 4.8
blendspace.jpg (343.2 kB)
more ▼

asked Aug 26 '15 at 09:35 PM in Blueprint Scripting

avatar image

38 29 17 22

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

2 answers: sort voted first

the problem I see is that you are using a Negative Speed with Direction.

What does a negative speed mean to you..going backwards? This is being taking care of in the direction component of the graph.

I suggest you design for speed 0 to 600 only. Move the zero line down to the bottom and layout your blendspace differently. Here is an example of a 9 way blend, you could omit the NW,NE,SW,SE and still get good animation. =)

alt text

blendspace.jpg (460.4 kB)
more ▼

answered Aug 26 '15 at 09:39 PM

avatar image

2.3k 114 62 234

avatar image No_Nam4 Aug 27 '15 at 12:24 AM

i've done a blendspace similar to yours, but now the problem is: when i start playing it's normal, but when i press any movement key (WASD) and release it, the char stop, but the animation still running... what i've done wrong this time??

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

Devero is right in the sense that Vector Length will always return a positive number so you should set it up from 0-max speed. If that doesn't fix your answer it is likely because Get Actor Right Vector is not returning the expected direction. If you have turn in place animations or want to know the difference in direction you might want a different setup.

I am not sure if this is perfectly ideal but it does work for what I need: alt text

untitled.png (194.5 kB)
more ▼

answered Aug 27 '15 at 12:04 AM

avatar image

611 21 8 35

(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