Is it possible to combine animations into one animation

I have an animation that has several poses per frame and i use single frame integer to select the pose i want. I want to add to this animation using new poses. How can i add a new single frame animation to this existing animation?

Hi, @br_chickn!

A few questions to dig deeper and a couple possible solutions if one of them is in fact what you need. Is this animation going to be interactive? Is this cinematic animation? are these a bunch of key poses that need to be combined together in sequence?

The first option that may help is using the Control Rig built in to Unreal. Unreal’s Control Rig has great animation tools that can combine different poses on models into solid animations! Here is a video from Unreal’s YouTube channel explaining in further detail how to use it:

Using Control Rig in Unreal Engine

Your second option, the less likely solution, is using Blend Spaces. Blend spaces let your character switch between different animations depending upon a given input. Here is a video showing how they work:

BP 3rd Person Game: Blend Spaces | 07 | v4.8 Tutorial Series | Unreal Engine

I hope one of these solutions work for you!

1 Like

I was going to blend the upper half to a base pose. Example, holding a rifle and holdng hand gun.

After i submitted the question i think i thought of a solution. Im not able to try it now.

Duplicate an animation.
Find the correct pose in the animation.
Remove all other frames
Scrub to beginning
Press record
Wait a few seconds
Open next animation and let it run
Stop recording
Find second pose.
Remove all unneeded frames

I think that may work

This brillant idea does not work. The ue4 editor can not remove frames in the middle of the sequence , only remove from start or end. Once i have more than 2 poses it becomes impossible to edit it.

Hey, @br_chickn!

I think I may have a better grasp now. So if I understand correctly from the way you just described it, you are trying to use/have only one animation for all of your poses? From there you want to add a neutral state (new pose entirely) between your animation keys?

I have a base pose. Then i do a blend per bone from the pelvis up. The blend node 0 pin is the base (locomotion). Blend 1 pin comes from the animation which every frame has a different pose and the animation is converted to single frame per time (can not remember what its called). Then i can change upper body pose by changing single frame per time float. Make any sense?

The problem is making the animation which holds all the poses. Currently all the poses are independent animations. I would like a single frame from each independent animation and create a new animation which every frame is a different pose.

Sense ue4 can not remove frames in the middle of an animation I’m not sure this can work without exporting to another software. I never have a joyful experience doing that

Is this possible in the ue4 editor or do i have to use another software?

Hey, @br_chickn!

I think I may have initially misunderstood what you are doing here. So what I am getting is you are trying to do one of two things.

  1. You are trying to take a piece of each animation and group them together into a single animation sequence for some purpose.
  2. You are trying to make one super animation into a changeable (or several) animation(s) that holds all of your animations at once that you can just alter the key frame of to adjust the current pose.

Are you just wanting to switch from pose to pose depending on your desired path? Kind of like so (each color represents a different path for the animations, please excuse my poor drawing skills)

In either case, there are a few things you can do, and maybe a more efficient way to set up rather than recreating all of your animations. To start you can create duplicates of your animations, as you know, and set a specific start and end time. That would give you all of your poses separated out. At that point there are a few directions you can take. The first route is just your standard Animation Blueprint which would just switch between your poses given different variables:

Animation Blueprint Setup & Walkthrough | Live Training | Unreal Engine Livestream
&
Unreal Engine Documentation: Animation Blueprints

The second option (which is the one I think you need) if you are trying to use multiple poses at the same time, would be animation montages (still uses animation blueprint) These will allow you to combine all animations specified into a single new montage animation:

BP 3rd Person Game: Playing Our Animation Montage | 19 | v4.8 Tutorial Series | Unreal Engine
&
Non-Epic Affiliated Video: How To Use Upper Body Montages - Unreal Engine 4 Tutorial
&
Unreal Engine Documentation: Animation Montage

I hope the above solution is what you need!

Use node “Layered Blend per Bone” into AnimGraph window (and customize the values of the bone name and the blend weight)