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"

How to replay an animation in statemachine immediately

my monster has a statemachine having three animation, idle,run and hurt. assume that the monster is attacked when the statemachine is in hurt state and playing hurt animation now. I want to replay the hurt animation immediately, just as switching statemachine from hurt state to hurt state.

Product Version: UE 4.10
Tags:
more ▼

asked Mar 17 '16 at 09:16 AM in Using UE4

avatar image

gww123
1 1 3

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

2 answers: sort voted first

Yeah sounds like this would be better suited for a montage because they can be called to play again mid-play again and again...you can setup a new montage to play and the montage will override the animBP animations when ever they are fired.

more ▼

answered Mar 17 '16 at 09:48 AM

avatar image

Black Phoenyx
4.2k 165 9 170

avatar image gww123 Mar 17 '16 at 09:53 AM

thank you very much .it's useful for me.

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

You could set the animation to looping on the node click the anim asset reference node and in the details panel set it to looping

more ▼

answered Mar 17 '16 at 09:21 AM

avatar image

Black Phoenyx
4.2k 165 9 170

avatar image gww123 Mar 17 '16 at 09:25 AM

but I don't want to wait last animation over.how can i do it?

avatar image Black Phoenyx Mar 17 '16 at 09:29 AM

I am not sure what you mean

avatar image gww123 Mar 17 '16 at 09:39 AM

sorry, I mean that I want to restart the animation when the animation is playing in midpoint.

avatar image Black Phoenyx Mar 17 '16 at 09:34 AM

What you are trying to accomplish may be better suited for a montage instead of animBP

(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