UNAmedia Help

Documentation & Support

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/22 16:38]
Staff [Step-by-step]
ue5-mixamo:third-person-template [2022/07/29 17:56] (current)
Staff
Line 6: Line 6:
 ===== Using Mixamo animations with the Third Person Template ===== ===== Using Mixamo animations with the Third Person Template =====
 Simply replacing the animations in the Animation Blueprint for the UE5 Mannequin with retargeted animations will cause issues with the animation playback. Simply replacing the animations in the Animation Blueprint for the UE5 Mannequin with retargeted animations will cause issues with the animation playback.
-{{ :ue5-mixamo:third-person-issue.gif |}}+{{ :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.
  
Line 14: Line 14:
 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 Animtaion Blueprint //Characters/Mannequins/Animations/ABP_Manny//. Then open the blueprint and replace the animations with the 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 |}}+{{ :ue5-mixamo:third-person-anim-idle.jpg?800 |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 animation we'll create a duplicate of the Blend Space asset, then swap out the running animation.
-{{ :ue5-mixamo:third-person-anim-run-blend-2.jpg?800 |}}+{{ :ue5-mixamo:third-person-anim-run-blend-2.jpg?800 |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 |}}+{{ :ue5-mixamo:third-person-anim-sync-marker.png |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//.
Line 34: Line 34:
  
 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.
-{{ :ue5-mixamo:third-person-abp-cr.jpg |}}+{{ :ue5-mixamo:third-person-abp-cr.jpg?800 |Using the modified Control Rig in the Animation Blueprint}}
  
 +5. Create a duplicate of the third person character blueprint //ThirdPerson/Blueprints/BP_ThirdPersonCharacter//. Then select the Skeletal Mesh component and change the Anim Class setting to use 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. 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-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.
 +{{ :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 ====
 +1. Import a Mixamo character you want to use and retarget them to the UE5 Mannequin using the plugin.
 +{{ :ue5-mixamo:third-person-retarget-ue5.png |Retarget to the UE5 Mannequin}}
 +See our [[https://www.unamedia.com/ue5-mixamo/docs/tutorial/|Getting Started]] documentation for more information on the retargeting process.
 +
 +2. Retarget the mannequin animation blueprint //Characters/Mannequins/Animations/ABP_Manny// by right clicking on it and selecting //Retarget Animation Assets>Duplicate and Retarget Animation Blueprint//.
 +{{ :ue5-mixamo:third-person-char-abp-retarget.png?800 | Retargeting the Animation Blueprint}}
 +
 +Then in the retargeting window select the Mannequin to Mixamo IK Retargeter asset generated by the plugin (//RTG_Mannequin_{MixamoCharacter}//).
 +{{ :ue5-mixamo:third-person-char-abp-retarget-2.jpg |Select the Mannequin to Mixamo IK Retargeter}}
 +
 +This will retarget the Animation Blueprint along with any referenced animation assets.
 +{{ :ue5-mixamo:third-person-char-assets.png |Retargeted Animation Blueprint assets}}
 +
 +3. Open the retargeted Animation Blueprint and go to the main animation graph //AnimGraph//. Then select the Control Rig node, and in the Details Tab, change the Control Rig Class to //CR_Mixamo_BasicFootIK//. This is a modified version of //CR_Mannequin_BasicFootIK// that has been updated to work with Mixamo characters.
 +{{ :ue5-mixamo:third-person-char-abp.jpg?800 |Updating the Control Rig setting in the Animation Blueprint}}
 +
 +4. Create a duplicate of the third person character blueprint //ThirdPerson/Blueprints/BP_ThirdPersonCharacter//. Then select the Skeletal Mesh component and update the Skeletal Mesh setting to your Mixamo character mesh and the Anim Class setting to the retargeted Animation Blueprint.
 +{{ :ue5-mixamo:third-person-char-bp.jpg?800 |Updating the third person 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}}
  
 +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 and correct foot IK}}
  
ue5-mixamo/third-person-template.1658500688.txt.gz ยท Last modified: 2022/07/22 16:38 by Staff