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"


I'm using a 2D blendspace for walking and jogging . It seems to work fine unless I change direction. I'm using the calculate direction function(blueprint) . While changing direction say from right to left, the character first moved forward and then left . It really looks weird when that happens . Can I not somehow skip an animation in between two(forward in this case) ?

Product Version: UE 4.22
more ▼

asked May 25 '19 at 09:33 PM in Using UE4

avatar image

1 1

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

1 answer: sort voted first

Target Weight Interpolation Speed Per Sec does exactly that:

"Target weight interpolation. When target samples are set, how fast you'd like to get to target. Improve target blending. i.e. for locomotion, if you interpolate input, when you move from left to right rapidly, you'll interpolate through forward, but if you use target weight interpolation, you'll skip forward, but interpolate between left to right"

alt text

more ▼

answered May 26 '19 at 05:25 AM

avatar image

82 1 6 5

avatar image Rishi_2003 May 26 '19 at 08:36 AM

I've tried that . It doesn't seem to work .Animations don't skip but changes quite fast. Should I do something with the average interpolation values of the axes.

avatar image AugustoMoura May 26 '19 at 09:06 AM

It would be great to have a screenshot of your blendspace as it depends on how it is set up

But if it doesn't solve the problem you can still do it manually: Instead of just feeding the result value from "Calculate Direction" into the blendspace, you can take the return value from Calculate Direction and pass it through a "FInterp To": alt text

Or manipulate the value in one way or another

cdir.png (81.3 kB)
(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