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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Strange transition between animations

I have animation blueprint, that uses 4 anims: idle, inspect_start, inspect_holding (plays in loop when inspect button down), and inspect_end (inspect_start/_end have anim notify on last frame). All is works as I want, except the transition between these animations. They're strange.

See here: https://youtu.be/_vDI9Urfq5c

What I have in anim bp: alt text alt text alt text alt text

Product Version: UE 4.18
more ▼

asked Dec 01 '17 at 10:51 AM in Using UE4

avatar image

Bed Inc.
8 3 6 8

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

1 answer: sort voted first

Hi Bed Inc., It looks like there might be some blend issue there. It looks like its blending back towards another pose. Try tweaking this value in your anim blueprint. Let me know if that helps. alt text

animjitter.png (106.0 kB)
more ▼

answered Dec 05 '17 at 01:56 PM

avatar image

406 1 6 8

avatar image Bed Inc. Dec 06 '17 at 02:25 PM

Hello. I've got weird results by playing with these values. See: https://youtu.be/OGziPDxcBxI Here I've set transition duration between Inspect End and Idle to 10. Seems like when it doing transition, it plays animation from start, over and over again until it blended to idle, and I don't know how to fix this. Also, when I set this to 0, when transition happens, I've still see first frame of previous animation.

avatar image User609571414 Dec 07 '17 at 03:17 AM

The problem may be that your Anim Notify execution and the transition blends are out of chronological alignment. Try using the "Time Remaining" -> "

transitionrule.png (68.0 kB)
avatar image Bed Inc. Dec 07 '17 at 08:52 AM

Yeah, that's solved problem. I've set Time Remaining <= 0.1, and then Blend Duration to 0.05. That looks smooth. Thanks man, you're awesome :)

Also, now I have one more question: how to blend looping animation? As I mentioned inspect_holding plays in loop while holding button, but start frame and end frame is a bit different, so, it doesn't look smooth. I can't find anything about it. I hope you know the solution :)

avatar image User609571414 Dec 07 '17 at 09:25 AM

Ok, if the loop isn't quite right then you will need to add some blending, can't simply loop the same animation. So try the following . . . which is basically just adding a second call to your inspect_holding and blending between them. You will need to add a bool to your anim bp and update it through input or whatever. Use this bool to check when you should keep inspecting, eg "IsInspecting", as below.

alt text alt text alt text

So you would then just tweak the 'blend time' and 'time remaining' until you get the result you want, it won't need much maybe 0.3, but just test it out.Let me know if that helped.

statemachine.png (64.5 kB)
loopend.png (218.6 kB)
avatar image Bed Inc. Dec 07 '17 at 09:50 AM

I've thought about this way, but I've also thought what there are more simple way, that's why I've asked about this. Anyway, thanks, you're cool man :)

avatar image User609571414 Dec 07 '17 at 09:57 AM

No worries, i got hung up on blending too. If it did looped correctly you can just tick a single checkbox, but in this case because its in a state machine you have to do it this way. Unless someone else has a better way. :) If you feel your question was answered, please mark it as resolved (green check mark) for other developers. Thanks, Bed Inc.

(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