Runtime Retarget
To use this example you will need to import the Third Person Template from Epic: Restart the editor after you import it to apply the changes.
In this example we will import an avatar and retarget it at runtime to the UE5 Mannequinn.
To use it, just select BP_Union_RuntimeRetarget as your default pawn in your Game Mode.
When you press play you should see the avatar loading in a few seconds
Now, you may want to change the Avatar that it’s being loaded or any other behaviour. To do this let’s jump into the BP_Union_RuntimeRetarget blueprint.
As you can see, it is almost the same as the UE5 Third Person character. The only two new things are the Union Avatars Component and a new Skeletal Mesh child of the original Mannequin. The new skeletal mesh is retargeted using a Retarget Pose From Mesh node in its Animation Blueprint.
In Begin Play we are setting our new skeletal mesh as the target of avatar component.
To change the avatar URL, change it in the Union Avatars Component
And that’s all, now you can play with your custom avatar!