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"

Character stuck in animation pose after Play Animation finishes


I've got a character with two animations. One is the idle animation, which I set up in the AnimGraph. The other is an animation that I trigger on button press via the PlayAnimation node.

alt text alt text

When I start the game, the character idle plays as expected. On pressing 1, the second animation is triggered and plays correctly. However, when the animation finishes playing, the character doesn't return to the idle but instead stays stuck in what looks like the final animation frame.

I eventually managed to set up a workaround that involved adding the second animation in the AnimGraph with a transition comparing a boolean which is set to true on button press and resets to false in reaction to an Anim Notify fired in the animation itself. This works, but seems really complicated for something that seems like it should happen automatically (switching back to the AnimGraph behavior once a custom animation has finished playing), especially when you consider that under more realistic conditions I'd want to trigger any number of animations directly.

Is this a bug? Or am I missing something obvious in my Play Animation setup? In particular, is there an event that fires whenever an animation finishes playing?

Product Version: UE 4.8
more ▼

asked Jul 31 '15 at 09:10 AM in Blueprint Scripting

avatar image

1.8k 69 28 114

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

1 answer: sort voted first


i really advice you see these video tutorials from Epic, videos from 16 to 22 http://www.youtube.com/watch?v=zQrNQtfNOHc&index=74&list=PLZlv_N0_O1gaCL2XjKluO7N2Pmmw9pvhE because it should give you most common knowledge on how make animation in right way and make it's mix/change, it isn't so simple as you may think at first, i remember it because watched it already, but didn't dive too deep into this

more ▼

answered Jul 31 '15 at 02:27 PM

avatar image

576 54 46 72

avatar image erinacea Aug 03 '15 at 07:55 AM

That was actually one of the very first video series I watched when I delved into Unreal 4. :)

Setting up a montage for every simple animation I might want to play seemed like overkill, so I didn't even consider it until I got desperate. But yes, using PlayAnimation appears to have some buggy side effects (also doesn't trigger Animation Notify events) whereas playing a Montage (or setting a variable for the AnimGraph transitions) works fine. shrugs


(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