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
asked Aug 26 '15 at 09:35 PM in Blueprint Scripting
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. =)
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:
answered Aug 27 '15 at 12:04 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here