Retargeting Marketplace Characters
Last updated
Last updated
In this tutorial we are going to explain how to retarget / adjust a character purchased from the Unreal Engine Marketplace to function with Motion.
Motion makes use of the UE5 Metarig as demonstrated and used in the Lyra Sample Game. All changes you will find in the Lyra sample game also apply to Motion.
At this point, we recommend using a seperate branch in your VCS or making a backup before continuing.
In this scenario we will cover retargeting a UE4 character from the marketplace to work with Motion. We will use the Gothic Knight asset as example character, as it has not been updated to UE5 at the time of writing.
To get started, create an animation blueprint for the skeletal mesh you intend to use by right-clicking, and selecting Create -> Anim Blueprint
.
In this case it's called SK_GothicKnight_Skeleton_AnimBlueprint
. Open the Animation Blueprint by double-clicking it.
Unlike Retargeting in Unreal Engine 4, retargeting the skeletal mesh to use the UE5 skeleton is not neccessary. Instead, we instruct the animation blueprint to copy the pose of it's parent mesh using a IK Retargeter
.
The IK Retargeter used here are also included in the Third Person Starter Pack that ships with Unreal Engine 5.
In the AnimGraph of the Animation Blueprint, create a new Retarget Pose From Mesh
node and connect it to the Output Pose.
Click the newly created node and go to the Details tab. There, select RTG_UE5Manny_UE4Manny
in the IKRetargeter Asset
dropdown.
That's it! You successfully created the retargeting animation blueprint for your character mesh. Now, let's add it to Motion.
Open your BP_MotionCharacter
and head over to the Components tab.
Select the FullBody
skeletal mesh and, on the details tab, change the skeletal mesh to your new mesh.
Then, change the Anim Class
property above to be the animation blueprint you created earlier in this tutorial.
Repeat the same process for the Headless
skeletal mesh.
Starting a Play-in-Editor session should now result in your new character being shown, with the mannequin being invisible and all animations being applied to the new mesh.