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 pause or idle an animation?

How would I go about pausing an animation? I want the user to click a door so that the door opens then pause the animation so that it doesn't randomly shut on the player when he is trying to enter. I want him to close it back.

Product Version: Not Selected
Tags:
more ▼

asked Jul 03 '14 at 12:30 AM in Using UE4

avatar image

Angelocracy
28 11 22 25

avatar image Angelocracy Jul 03 '14 at 09:21 PM

Anyone?....

avatar image Grogger Jul 05 '14 at 05:46 AM

I would like to know the proper way as well.

What I have now is an anim montage where I manually put a section that repeats infinitely at the end of the sequence.

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hey Angelocracy,

You can open a door very simply by using Blueprints, or using Matinee and Blueprints. Unless you're doing something much more complicated with the door's motion, there's no reason to use animation.

There's a great Blueprint door setup in the Content Examples project, and a short description of it here:

https://docs.unrealengine.com/latest/INT/Resources/ContentExamples/Blueprints_Advanced/2_4/index.html

For another look at opening doors, this tutorial features an automatic sliding door but could be converted to a swinging door with a little Blueprint work:

https://wiki.unrealengine.com/Blueprint_Automated_Door_Tutorial

Another very easy way to set it up is using Matinee. Create a Matinee that opens the door. Then create a Trigger Volume around the door. In the Level Blueprint, set up something like this:

alt text

You also have a Pause node for Matinee if you need it, but something like this would make it unnecessary.

For animations, there is a Pause node you can use in the AnimGraph. Again, this isn't an ideal way to deal with simple movements like a swinging door.

Hope this helps!

Ben Halliday

more ▼

answered Jul 05 '14 at 07:23 PM

avatar image LZDLY May 11 '17 at 04:33 AM

i want to ask How to stop a animation by using blueprint , when a animal walk attack ,then it be freeze ,it should keep the pose which when it freezing not by C++ ??

avatar image probert Sep 21 '17 at 05:32 PM

did you ever figure this out?

avatar image LZDLY Dec 24 '17 at 06:29 AM

actually you can set a parmater called "play rate" in animation blueprint

(comments are locked)
10|2000 characters needed characters left
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