Creating Dynamic Animations

Using AnimDynamics to provide physically based secondary animations to a character.

Choose your operating system:




One way you can improve the realism in your character's movement is to provide dynamic animations for items that they may be carrying or wearing. With AnimDynamics those pieces that you would expect to move around as you move in real life (hair, necklaces, bracelets, swords, pouches, etc.) will bounce around and move while your character moves.

In this How-to we will apply AnimDynamics to a character to achieve the effect seen below:

Above, the character has AnimDynamics applied to the harness and furnace that is being carried around the character's neck. As the character moves, the harness shifts slightly while the furnace has a bit more movement forwards/backwards. The amount of movement can be adjusted via the Details panel of the AnimDynamics node to achieve the effect you are looking for. Additional constraints can be added as well to manipulate just how the bones move.

If you already have a character with an AnimBlueprint and bones ready to drive with AnimDynamics, you can proceed to step 2.

1 - Required Setup

Before we get started with applying dynamic animations to our character we need to set up the character we wish to use. The template characters do not have any dynamic bones we can use so we will retarget animations from the template character over to an Infinity Blade character who has bones that we can influence with AnimDynamics.

For this guide, we created a New Project using the Blueprint Third Person template.

We then added the Infinity Blade: Adversaries pack which is available for free on the Marketplace to the project.


With your Blueprint Third Person based template project open and the Infinity Blade assets added:

  1. In the Content Browser under Content/Mannequin/Character/Mesh , open the UE4_Mannequin_Skeleton asset.

  2. Click the Retarget Manager button, then under Select Rig assign the Humanoid rig.

    We are going to retarget this character's AnimBlueprint and Animations to an Infinity Blade character.

  3. In the Content Browser navigate to and open the SK_Master_Grunt_Skeleton in the Infinity Blade Adversaries folder.

  4. Click the Retarget Manager button, then select Humanoid under the Select Rig option.

  5. For each node on the Rig, assign a Bone from the Skeleton.

    The full assignment is shown in the table below.

    Node (Rig)

    Bone (Skeleton)











































    Before we proceed with retargeting, we will adjust the Translation Retargeting to ensure that our animations play correctly.

  6. In the Skeleton Tree , click the Show Advanced Options button.

  7. Right-click on the b_MF_Root bone and select Recursively Set Translation Retargeting Skeleton .

  8. Under Translation Retargeting , set b_MF_Root to Animation and b_MF_Pelvis to Animation Scaled .

    Our Skeleton is set up and we can now retarget the AnimBluperint and Aniamtions from the template character.

  9. Navigate to the ThirdPersonAnimBP and Right-click on it and select Duplicate Anim Blueprints and Retarget .

  10. In the Select Skeleton window, select the SK_Master_Grunt_Skeleton asset then choose Retarget .

    You can click the Change... button to assign where the retargeted assets are copied to if you like.

  11. Navigate to the duplicated assets and rename the new AnimBlueprint to GruntAnimBP .

  12. Navigate to and open the ThirdPersonCharacter Blueprint.

  13. Click the Mesh in the Components window, then assign the SK_Master_Grunt and GruntAnimBP_C in the Details panel.

  14. Compile and Save , then close the Blueprint.

At this point if you play in the Editor, you should be controlling the Grunt Character who can run and jump with WASD and Spacebar .

Notice the limited movement of the harness and furnace around the characters neck. It appears relatively static and our character would look more natural if these objects moved along with the character's movement.

In the next step we will use the AnimDynamics node to animate the harness and furnace so it reacts to character movement.

2 - Applying AnimDynamics

Now that our character is set up with an Animation Blueprint and has bones that we want to dynamically animate, we can do so from the AnimGraph of our Animation Blueprint with the AnimDynamics node.

In our example, the character is carrying a large furnace around their neck that we want to be animated based on character movement. If you are using your own character, you can follow the steps below and assign the bone(s) you want to drive with AnimDynamics and adjust the settings as desired.


  1. In the Content Browser , open the character's Animation Blueprint ( GruntAnimBP ).


  2. Click MyBlueprint , then AnimGraph to open the Animation Graph.


  3. Right-click in the graph and search for and add the AnimDynamics node.


    The AnimDynamics node takes in an External Force value which is additional force to apply to all bodies in the simulation (this is optional, but may be something to consider). It also takes in the Component Pose which is the reference pose data as well as an Alpha value (the strength with which to apply the skeletal control, where 0 is no strength and 1 is full strength).

  4. Copy and Paste the node, then connect the nodes as shown below.


    The Local to Component and Component to Local will be automatically created when connecting pose pins.

    In our example we are using two AnimDynamics nodes (one to affect the Harness and another to affect the Furnace).

  5. Select the first AnimDynamics node in the sequence, then in the Details panel assign the settings shown below.


    The Preview section is all about visualization, which helps to indicate the current limits applied to the movement in the viewport. You can also see Collision Spheres if you are using Planar Limits and CoM (Center of Mass) is not enabled. This is outside the scope of this example but you can experiement with this setting.

    The last thing we set is the Bound Bone or bone we are affecting which we set to the furnace bone on our character (this bone affects the Harness).

  6. With the node still selected, set the Setup and Constraint sections as shown below.


    The Setup and Constraint sections are where you define the movement and range of movement for the bone driven by AnimDynamics. The Box Extent provides the inertia, the Local Joint Offset defines the pivot point, and Angular Limits provide the rotational range of movement (which is indicated by the preview visualization options when enabled).

    Please see AnimDynamics section of Skeletal Controls for more information on Setup and Constraint settings.

  7. Click Compile and notice how the harness object tilts to the side.


    The Angular Limits for the Y axis is quite large right now indicated by the green cone in the picture above. Let's reduce this range.

  8. With the node still selected, in the Constraints section, adjust the Angular Limits for Min/Max as shown below.


    When you Compile this time, the harness should not shift as much to either side (even if you adjust the Speed or IsInAir? settings).


  9. Select the second AnimDynamics node in the sequence and use the following settings.

    Click for full view.

    With the settings above, we changed the Bound Bone to now target the Furnace_Pivot bone in our character which affects the furnace object. We also adjusted the Twist Axis so that it twists on the Y axis providing back-and-forth movement instead of side-to-side. The Angular Limits are set to -50 and 50 as the range in which to move.

  10. Compile and Save then play in the editor.

End Result

You should now see that the furnace for our example character bounces around as the character moves based on our constraint settings.

Feel free to experiment with the Box Extent and Local Joint Offset values in the Setup section as well as the Linear and Angular Limits in the Constraints section to see how it alters the movement of our bones affected by AnimDynamics.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey