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.
asked Jul 03 '14 at 12:30 AM in Using UE4
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:
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:
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:
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!
answered Jul 05 '14 at 07:23 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here