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"

How to resume AnimClass Play After Calling PlayAnimation

I have the following bit of code:

 void AMGCharacter::PlayCombatAnimation()
     bIsCombatAnimating = true;
     GetMesh()->PlayAnimation(ActiveCombatAnimation.Animation, false);

After it runs, the locomotion animations break. How do I get them running again?

Product Version: UE 4.12
more ▼

asked Jul 12 '16 at 04:06 AM in C++ Programming

avatar image

447 36 40 67

avatar image ImVawx ♦♦ STAFF Jul 12 '16 at 05:45 PM

Hi calembendell,

Are you calling SetIgnoreMoveInput( false ); later on? If not, this could be a good thing to test to see if your locomotion still breaks.

avatar image calembendell Jul 14 '16 at 06:35 PM

hey kyle, thanks for the response. (another one!) i'm setting ignore move input to false afterward, and the player resumes to float about in a T-Pose. however, i've got a lead in the shootergame that may suggest a solution.

avatar image calembendell Jul 17 '16 at 02:00 AM

figured it out! answer below

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

1 answer: sort voted first

The animation mode for the character must manually be set back to AnimationBlueprint in order for the animclass to resume after an animation montage has played.

more ▼

answered Jul 17 '16 at 02:00 AM

avatar image

447 36 40 67

(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