UNAmedia Docs

Documentation & Knowledge Base

User Tools

Site Tools


ue5-mixamo:third-person-template

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ue5-mixamo:third-person-template [2022/07/29 17:38]
Staff [Step-by-step]
ue5-mixamo:third-person-template [2025/12/10 13:09] (current)
Staff
Line 8: Line 8:
 {{ :ue5-mixamo:third-person-issue.gif |A demonstration of the issue where the character slides around with the feet locked in place}} {{ :ue5-mixamo:third-person-issue.gif |A demonstration of the issue where the character slides around with the feet locked in place}}
 This is caused by the IK foot placement system that relies on animation of the IK bones. These IK bones aren't present on Mixamo characters, thus there is no animation track for them in retargeted animations. This can be fixed with a simple change to the mannequin foot IK Control Rig to set the transform of the foot IK bones to match the corresponding foot bone. This is caused by the IK foot placement system that relies on animation of the IK bones. These IK bones aren't present on Mixamo characters, thus there is no animation track for them in retargeted animations. This can be fixed with a simple change to the mannequin foot IK Control Rig to set the transform of the foot IK bones to match the corresponding foot bone.
 +
 +//**Note: As of UE 5.6 this should no longer an issue as the plugin now includes support for IK bone retargeting, so retargeted animations can be a drop-in replacement without any need for a custom control rig.**//
  
 ==== Step-by-step ==== ==== Step-by-step ====
Line 14: Line 16:
 See our [[https://www.unamedia.com/ue5-mixamo/docs/tutorial/|Getting Started]] documentation for more information on the retargeting process. See our [[https://www.unamedia.com/ue5-mixamo/docs/tutorial/|Getting Started]] documentation for more information on the retargeting process.
  
-2. Create a duplicate of the Animtaion Blueprint //Characters/Mannequins/Animations/ABP_Manny or ABP_Qunn//. Then open the blueprint and replace the animations with the retargeted Mixamo animations.+2. Create a duplicate of the third person Animation Blueprintand replace the animations with retargeted Mixamo animations.
  
 In this example we'll replace the idle and running animations. In this example we'll replace the idle and running animations.
  
 The idle animation is a simple swap. The idle animation is a simple swap.
-{{ :ue5-mixamo:third-person-anim-idle.jpg?800 |Swapping the idle animation}}+{{ :ue5-mixamo:third-person-anim-idle.jpg?800 direct |Swapping the idle animation}}
  
-For the running animation we'll create a duplicate of the Blend Space asset, then swap out the running animation. +For the running animationcreate a duplicate of the Blend Space asset and replace the run forward animation in the Blend Samples section of the Asset Details panel. Then update the Walk / Run state graph in the animation blueprint to use the new blend space asset
-{{ :ue5-mixamo:third-person-anim-run-blend-2.jpg?800 |Swapping the running animation}}+{{ :ue5-mixamo:third-person-anim-run-blend-2.jpg?800 direct |Swapping the running animation}}
  
 Note: The walk to run blending uses sync markers in the animation assets that indicate when each foot is on the ground. This is used to match up the timing of the animations to make them blend together correctly. Note: The walk to run blending uses sync markers in the animation assets that indicate when each foot is on the ground. This is used to match up the timing of the animations to make them blend together correctly.
 These markers can be added to you retargeted animations by right clicking in the timeline and selecting //Add Sync Marker>Existing Sync Markers// then choosing either the L or R marker to match with your animation. These markers can be added to you retargeted animations by right clicking in the timeline and selecting //Add Sync Marker>Existing Sync Markers// then choosing either the L or R marker to match with your animation.
-{{ :ue5-mixamo:third-person-anim-sync-marker.png |Adding animation sync markers for the feet}}+{{ :ue5-mixamo:third-person-anim-sync-marker.png?direct |Adding animation sync markers for the feet}}
  
 3. Create a duplicate of the foot IK Control Rig asset //Characters/Mannequins/Rigs/CR_Mannequin_BasicFootIK//. 3. Create a duplicate of the foot IK Control Rig asset //Characters/Mannequins/Rigs/CR_Mannequin_BasicFootIK//.
- +Then open the Control Rig graph and add nodes to the beginning of the graph to set the foot IK bones transform to match the corresponding foot bone.\\  
-Then open the Control Rig graph and add nodes to the beginning of the graph to set the foot IK bones transform to match the corresponding foot bone.+**//Note: This step can be skipped in UE 5.6 or higher.//**
 {{ :ue5-mixamo:third-person-controlrig-ik-fix.png |}} {{ :ue5-mixamo:third-person-controlrig-ik-fix.png |}}
  
-4. Open the AnimGraph in the Animation Blueprint and edit the settings of the Control Rig node to use the modified Control Rig asset.+4. Open the AnimGraph in the Animation Blueprint and edit the settings of the Control Rig node to use the modified Control Rig asset.\\  
 +**//Note: This step can be skipped in UE 5.6 or higher.//**
 {{ :ue5-mixamo:third-person-abp-cr.jpg?800 |Using the modified Control Rig in the Animation Blueprint}} {{ :ue5-mixamo:third-person-abp-cr.jpg?800 |Using the modified Control Rig in the Animation Blueprint}}
  
Line 39: Line 42:
 {{ :ue5-mixamo:third-person-bp-setup.jpg?800 |Setting up the third person character Blueprint with the modified Animation Blueprint}} {{ :ue5-mixamo:third-person-bp-setup.jpg?800 |Setting up the third person character Blueprint with the modified Animation Blueprint}}
  
-6. Edit the third person game mode //ThirdPerson/Blueprints/BP_ThirdPersonGameMode// to use the modified character blueprint. +6. Change the Default Pawn Class in the third person game mode asset //ThirdPerson/Blueprints/BP_ThirdPersonGameMode// to use the modified character blueprint. 
-{{ :ue5-mixamo:third-person-gamemode.png |Editing the third person Game Mode to use the modified character Blueprint}} +{{ :ue5-mixamo:third-person-anim-gm.png |Editing the third person Game Mode to use the modified character Blueprint}}
- +
-Now open the map //ThirdPerson/Maps/ThirdPersonMap// to test your changes. If you followed the steps correctly you should now have you Mixamo animations playing back correctly on the third person mannequin character.+
  
 +If you followed the steps correctly you should now have you Mixamo animations playing back correctly on the third person mannequin character.
 +{{ :ue5-mixamo:third-person-anim-result.jpg?800 |A retargeted Mixamo animation playing on the third person controller with correct foot IK}}
 ===== Using Mixamo characters with the Third Person Template ===== ===== Using Mixamo characters with the Third Person Template =====
 ==== Step-by-step ==== ==== Step-by-step ====
Line 65: Line 68:
 {{ :ue5-mixamo:third-person-char-bp.jpg?800 |Updating the third person blueprint}} {{ :ue5-mixamo:third-person-char-bp.jpg?800 |Updating the third person blueprint}}
  
-5. Edit the third person game mode //ThirdPerson/Blueprints/BP_ThirdPersonGameMode// to use the modified character blueprint.+5. Change the Default Pawn Class in the third person game mode //ThirdPerson/Blueprints/BP_ThirdPersonGameMode// to use the modified character blueprint.
 {{ :ue5-mixamo:third-person-char-gm.png |Editing the third person game mode}} {{ :ue5-mixamo:third-person-char-gm.png |Editing the third person game mode}}
  
 Now open the map //ThirdPerson/Maps/ThirdPersonMap// to test your changes. If you followed the steps correctly you should now have your Mixamo character working with the third person controller. Now open the map //ThirdPerson/Maps/ThirdPersonMap// to test your changes. If you followed the steps correctly you should now have your Mixamo character working with the third person controller.
-{{ :ue5-mixamo:third-person-char-result.jpg?800 |A Mixamo character working with the third person controller}}+{{ :ue5-mixamo:third-person-char-result.jpg?800 |A Mixamo character working with the third person controller and correct foot IK}}
  
ue5-mixamo/third-person-template.1659109109.txt.gz · Last modified: 2022/07/29 17:38 by Staff