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"

Is there a possibility to make transition happen at animation's end?

Hello. I want to ask if there is a possibility to make animation happen at the end of another animation, instead of at the beggining. My problem: character does a roll animation, and after this, it does a transition to idle, but immidiately 'slides' to the beggining of roll animation. That really bothers me, and because of that I'm unable to make fluent movement in my game, so maybe one od You will know how to solve this problem. Thanks :)

Product Version: UE 4.8
Tags:
more ▼

asked Jul 14 '15 at 07:50 PM in Blueprint Scripting

avatar image

Paweł Biłos
1 1 2 3

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

3 answers: sort voted first

Yes -- there's a node you can put in the transition to check what the time remaining is on an animation. Once that time hits a certain point that you set, the transition can play.

Take a look at this link, notably #5 in the list. What you want to do is connect your transition from the base state to the target state, then go into the transition and set the logic for "TimeRemaining". (If you right click and type that, the base state of the transition should pop up). Set the value to something low, like 0 or 0.1

https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/CharacterMovement/Blueprints/AnimBlueprint_Jump/index.html

more ▼

answered Jul 15 '15 at 02:36 AM

avatar image

jmalaska
732 41 38 60

avatar image Paweł Biłos Jul 15 '15 at 10:30 PM

Thank You very much for Your answer, but unfortunately it did not work, after finishing the roll animation my character still 'slides' backwards to idle animation.

//EDIT I set the "TimeRemaining" value to 0.0, and the character freezes in idle animation, it can move, but it is frozen, can go through other things.

avatar image Paweł Biłos Jul 15 '15 at 10:39 PM

OK, I tested some things, and if I set the value to 0.0, the character freezes in idle animation, and if I set the value above 0.0, like 0.01 or 0.1, the character still 'slides'.

avatar image jmalaska Jul 21 '15 at 02:46 PM

Can you post your Anim State Machine graph, and maybe a video of the animations?

I'm not exactly sure what you mean by Sliding, but if the animation is supposed to drive the location of the character, you'll want to use root motion on that animation.

avatar image Paweł Biłos Jul 21 '15 at 08:55 PM

Yes, of course, just give me some time because I have to create everything from scratch - I'm having some UE problems :)

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

At least in version 4.18, in the details panel of a selected transition is a checkbox for "Automatic Rule Based on Sequence Player in State" that does this automatically.

alt text

untitled.png (139.6 kB)
more ▼

answered Jan 09 '18 at 11:03 PM

avatar image

Kiruse
132 8 12 14

avatar image Genna Zerzan Jan 15 '18 at 07:50 PM

Thank you for this tip. "Anim time remaining" was failing on me and registering animations as having "100,000 years" left when they actually reached the end of the animation. That checkbox gave me what I needed.

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

It sounds like you have a root motion issue. this results from the way in which it was animated. the basic answer is your mesh is moving forward but the character root is not. The link provided should show you all about the issue and the basics on how it can be fixed.

more ▼

answered Jan 09 '18 at 11:49 PM

avatar image

ThompsonN13
10.1k 33 10 25

(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