There are two ways you can retarget your mesh to work with ALS4. The fastest way would be to use dynamic retargeting. This still requires from you to create an IK Rig and Retargeter, but you don’t have to add the virtual bones.
I am using this asset as an example. It’s the character I will use for my game. It should work for any character asset from the marketplace. It works also with Mixamo characters. To make it easier with Mixamo assets you can use this plugin for Blender.
Let us duplicate the target skeleton first, to have a backup if something goes wrong. Now open the duplicated skeleton.
First we have to add the virtual bones. You can do it by right-clicking on the bones.
Here is the table for the root bone, target bone, and name of the VB bone.
|Root Bone||Target Bone||Name|
The virtual bones should now match with the ALS4 skeleton. The names may differ from the ALS4 version from the marketplace, but the root and target bones should be the same. For the Mixamo assets you will need more virtual bones. You would first create “virtual IK bones” and then add the virtual bones.
Select your skeletal mesh, right-click -> Asset Actions ->Bulk Edit via Property Matrix -> Mesh – and replace the original skeleton with the new one.
The next step is creating an IK Rig for the ALS4 skeleton and our skeleton. You can create one by right-clicking on the content drawer and selecting Animation -> IK Rig. Select one of the two skeletons – you have to repeat this process for both skeletons.
First set the pelvis as Retarget Root. Now we need to create chains for the arms, legs, spine, fingers, etc. The chains for the IK and VB bones have the same start and end bone. So the chain contains just one bone. The chain for the legs should not contain the “twist bone”. The chains of the “twist bones” and the “clavicle” bones also contain just one bone as well as the root bone.
Now we add a Full Body IK Solver. Set the hands and feet(balls) as IK Goals and the pelvis as root bone for this Solver. Adjust the pullchain alpha value to zero for the IK Goals settings of the hands. Add settings to the clavicle bones and adjust the rotation stiffnes to 1. Then set the IK goals for your arms and legs.
We are almost done. Now we create the Retargeter based on the ALS4 skeleton and select the asset skeleton as a target. Select the root chain and set the Translation Mode to Globally Scaled and the IK and VB chains to Absolute. Adjust the pose of your skeleton to match the pose of the ALS4 skeleton by selecting the Edit Pose button. In my experience, the bones don’t have to overlap but should be aligned in parallel.
Now the weapons may be a little bit off. You can adjust that at the ALS Blueprint. There should be a function called “AttachToHand” and you are ready to go.