# Are offsets supported within the IK Retarget?

**URL:** <https://forums.unrealengine.com/t/are-offsets-supported-within-the-ik-retarget/570178>\
**Category:** Character & Animation\
**Tags:** unreal-engine, UE5-0, question\
**Created:** [May 30, 2022, 6:18pm UTC](https://forums.unrealengine.com/t/are-offsets-supported-within-the-ik-retarget/570178 "2022-05-30T18:18:21Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Naivrat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Naivrat](https://forums.unrealengine.com/u/Naivrat)\
**Post date:** [May 30, 2022, 6:18pm UTC](https://forums.unrealengine.com/t/are-offsets-supported-within-the-ik-retarget/570178/1 "2022-05-30T18:18:21Z")

</div>

Hi guys, I’m wondering if I have found a bug, or am i just stupid to get retargeting working.  
I’m trying to retarget an animation from a UE4 mannequin to the new, cool UE5 mannequin. The problem is that the UE4 mannequin have its foot\_l/foot\_r bones (and so ik\_foot\_l/ik\_foot\_r bones) slightly higher than the UE5 mannequin. So we are getting picture like this:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/4/b/34b520d53aa41dae69f5ddbc0e26b30b618fbfbf.jpeg)

When we are setting IK & FK adjustments like so:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/9/4/49428cd6e06b4fcbf693e4f787489a397398311c.png)

This difference in the bone positions is causing the feet to be noticeably off the ground when the retargeted animation is used in locomotion with the CR\_Mannequin\_BasicFootIK control rig (Third Person project). This issue may be solved by editing the custom “FootTrace” function, but I didn’t found a way to automate the finding of the offset. So, I have tried to solve this issue by using the static offset:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/d/d/bdd0eea5384cecc14f568aad2122ad377620436c.jpeg)

But it looks like the offset value have no effect on the retargeted animation. I have tried to find how other people have overcome this issue, but no luck ☹

P.S.  
Just in case: I’m trying to get UE5 mannequins feet to stick to the ground, with retargeted animations. Because I do have different characters for my game that have different body proportions, so it could be nice to be able to use the IK retargeting to easily share animations between these characters.

---

<div class="post-metadata">

**Author:** ![Naivrat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Naivrat](https://forums.unrealengine.com/u/Naivrat)\
**Post date:** [May 30, 2022, 10:07pm UTC](https://forums.unrealengine.com/t/are-offsets-supported-within-the-ik-retarget/570178/2 "2022-05-30T22:07:39Z")

</div>

Answering my own question:

I was right about feet bone position difference (UE4 & UE5 mannequins), but I didn’t realize, that while UE5 mannequins feet are getting snapped to a position where UE4 mannequins feet bones are, the root bone remains in the same position. The exported animation skeleton will look like this:  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/9/4/094c0efa72230e0a4694ad08d54bcb56673713d1.png)  
So this is what is actually causing problems like floating feet, because the skeletal mesh origin/pivot is where the root bone is. And the static offset is the way to solve this.

Here is how you can set the static mesh offset (remember to do it for both leg chains). I don’t know if the value of -4 is suitable for all animations, but it worked for my retarget pose & animation combination.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/2/d/22d3276324939ace6a3baaf56443d53414fe2b95.png)

This is how the exported mesh should look like (in terms of feet & root bone align:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/a/9/3a933a9577c10ecdec5105dee30c6a46fb7d4a1c.jpeg)

**UPDATE:**  
The solution above is not fixing all possible cases. I have tried the solution for different animations, and I have found out, that in some animation packages the IK bones are not moving at all (just not animated or broken link, or something…). You can check it by turning on bone visibility and try to play imported animation on UE4 and/or UE5 mannequins, the IK bones should follow feet/hands bones. to make it clear, this is how animation should look like:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/7/1/4712783d0936f084dbc8571e93d2c3cb1209f87a.jpeg)

And this, is how the animation should not look like on UE5 mannequin:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/6/3/c63b54872e13ce2d4706c1277816ea3e8d324620.jpeg)  
and UE4 mannequin:  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/d/28d393c5fdccdae5b3ff94762ff168f70817ea22.jpeg)  
In this case (UE4 mannequin) I have not done anything to the animation, it’s how it looks straight after import from library (it’s from the Generic NPC Pack)

**I still have not figured out, how to fix this, or what exactly is going wrong here.**

If this is your case, you will still get incorrect feet position when playing, if your animation blueprint contains this node:  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/d/b/4db8eafeeb82d060e284729a4305cfd8d5e6b328.png)

As there is custom trace function (FootTrace) which is calculating correct feet position using root bone and IK bones. So, in order to get everything working, you have to either fix the animation sequence (make the IK bones move correctly) or you have to edit the “CR\_Mannequin\_BasicFootIK” blueprint.

**UPDATE 2:**  
This video has short and concrete instructions on how to fix the IK bone problem once, and for every animation:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/b/8/6b8bbe4030a9e6db78eb98e26ff3df8e9cbe5981.jpeg "MetaHuman Foot IK - In UnrealEngine 5 - [OUTDATED]") ](https://www.youtube.com/watch?v=6-Adk6JPQ8Y)

If you are using the Third Person Template, and have not done any changes into the “CR\_Mannequin\_BasicFootIK” blueprint, and related animation blueprints, you must replace these IK bone names with corresponding virtual bone names in the “CR\_Mannequin\_BasicFootIK” blueprint:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/6/b/66bec273d93c9d1163be8c17c92d87ecc198683b.png)

Now, you should be able to retarget any of your animations easily, and the floating foot problem should be solved.

P.S.S.  
I hope this is clear enough, but ask me if it’s not.

---

<div class="post-metadata">

**Author:** ![Mostarda\_TK](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mostarda\_TK](https://forums.unrealengine.com/u/Mostarda_TK)\
**Post date:** [June 1, 2022, 2:59pm UTC](https://forums.unrealengine.com/t/are-offsets-supported-within-the-ik-retarget/570178/3 "2022-06-01T14:59:04Z")

</div>

Ok, I tried just now, and unfortunately dont work at all. You said GenericNPC Animation, see what happens if retarget to Anim\_Throw\_2. I found the best way to test animations is placing on anim\_BP (for example on idle animation) because in the animation sequencer all looks perfect, but with anim\_BP the IK is calculating, and it brokes everthing.  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/8/6/78655ab39d81530921e59641659ae2e9a45b5a3b.jpeg)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/3/a/f3a45101099fe4fd85ebab50a71af28a35a3e7a2.jpeg)

Another thing I see in this video of metahumans, its the fact that is not perfect. If you see the idle animation, look the legs how are more straight.  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/c/9/ec9096849d1ea908d05f76b08a5f4b2f3f148320.jpeg)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/c/4/bc424b23315d6cc0e6edb9d8c74c6016a7e58701.png)

And, If you have the Pedestrian animation pack, one animation called Kneel\_START.  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/d/c/ddc6d733870265c33349e6192fcb2e2f1da20658.jpeg)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/2/d/82d06222eccd1b3efddc546aae4c3bef705342a2.jpeg)  
It seems that after the retarget the feet are pulled hard to the ground, bending the legs and not letting the feet “slide” on the ground, like this kneeling animation.

---

<div class="post-metadata">

**Author:** ![Naivrat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Naivrat](https://forums.unrealengine.com/u/Naivrat)\
**Post date:** [June 1, 2022, 3:22pm UTC](https://forums.unrealengine.com/t/are-offsets-supported-within-the-ik-retarget/570178/4 "2022-06-01T15:22:54Z")

</div>

Yeah, your problem is slightly different. Now, when you have the virtual bones set correctly. Feet are no longer floating, and are pushed to the ground. This is the reason, why legs look more straight (UE5 Mannequin has different proportions than UE4).

The reason why some poses/animations are getting broken when placed in the animation blueprint, is that the “BasicFootIK” control rig is actually very basik 🙂 what it does is looks if foot must be pushed to the ground and if so, then the foot is pushed using the foot\_l/foot\_r bone, which is OK for some animations, but for more complicated animations like the ones you have mentioned, or the Anim\_Idle\_6 (from Generic NPC Pack), you’ll have to implement more advanced control rig (the “BasicFootIK” is still a good starting point).

---

<div class="post-metadata">

**Author:** ![Naivrat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Naivrat](https://forums.unrealengine.com/u/Naivrat)\
**Post date:** [June 1, 2022, 6:30pm UTC](https://forums.unrealengine.com/t/are-offsets-supported-within-the-ik-retarget/570178/5 "2022-06-01T18:30:38Z")

</div>

@Mostarda_TK looks like that the solution of your problem is not as hard as I thought.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/b/1/2b1d5eb1606f886b8f577cf8a30ed5945dad1189.jpeg)

All I have done, is re created the “VB ik\_foot\_l” and “VB ik\_foot\_r” virtual bones, the old ones have pointed to the foot\_l and foot\_r bones, but the new ones are now pointing to the ball\_l and ball\_r bones.  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/a/1/8a17388afd6cc1bbd17b2c9cfe164d1a702ef8b2.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/f/7/8f727975471eede912c684604e3348254af35121.jpeg)

And next, I had to update the skeletal mesh in the BasicFootIK control rig like this:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/0/4/d0459ba95ff35af9de0ecf0e86a6b679c8cce420.png)

Pay attention to the 5. and 6. spots, you have to change default foot\_l and foot\_r values with ball\_l and ball\_r values.

And make sure you have replaced ALL of the old ik\_foot\_l bone names with the new “VB ik\_foot\_l”/“VB ik foot\_r” bone names.

The result will be similar to this one:  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/f/e/1fe7b8c0f43c743daafc2505ebb63d360cbb3602.jpeg)

But there will be another problem:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/c/5/2c5d71a98cdae69e095259fd094b10d622e2dc87.jpeg)

This is because the Mannequin by default do not have any bone rotation limits, so we have to configure those manually ☹

Bad thing - I have no idea how to do it, have to find some tutorials about this.  
Good thing - I’m sure there are hundreds of tutorials explaining how to do it 🙂

---

<div class="post-metadata">

**Author:** ![Naivrat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Naivrat](https://forums.unrealengine.com/u/Naivrat)\
**Post date:** [June 1, 2022, 6:54pm UTC](https://forums.unrealengine.com/t/are-offsets-supported-within-the-ik-retarget/570178/6 "2022-06-01T18:54:45Z")

</div>

@Amanda.Schade Hi, looks like many people have problems with the UE4/UE5 mannequin IK bones, is there somewhere a roadmap or FAQ, where we can find, if this is a bug, or a feature? I mean, virtual bones work very well, but are the IK bones still present, because of backward compatibility or something? 🙂

P.S.  
Sory for bothering you, I just was not able to find any information about this myself ☹

---

<div class="post-metadata">

**Author:** ![Mostarda\_TK](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mostarda\_TK](https://forums.unrealengine.com/u/Mostarda_TK)\
**Post date:** [June 1, 2022, 10:03pm UTC](https://forums.unrealengine.com/t/are-offsets-supported-within-the-ik-retarget/570178/7 "2022-06-01T22:03:28Z")

</div>

Thanks, I will check this later. I alredy spent some days trying to fix all this thing all togheter, floating feet and broken IK. This thread was the best I found, I would like to see these “hundred” of tutorials haaha, because Its hard to find… oooor Im so bad at googleing xD

---

<div class="post-metadata">

**Author:** ![TheSkaz\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheSkaz\_1](https://forums.unrealengine.com/u/TheSkaz_1)\
**Post date:** [June 6, 2022, 12:19am UTC](https://forums.unrealengine.com/t/are-offsets-supported-within-the-ik-retarget/570178/8 "2022-06-06T00:19:55Z")

</div>

Thanks for the help, but I still have the issue of floating feet, except now it’s just the heels and both Manny and Quinn look like they pooped their pants.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/f/c/cfc7ee3166e87a7894738723f3ff9cc5af3d794c.jpeg)

I mean, I know the mannequins are different, but I thought the whole point of the IK Retargeting system was to _solve_ the differences, not make the UE5 mannequins look like diaper-wearing chimpanzees.

Alas, I am gonna give up on the UE5 mannequins for now and just stick to UE4 ones, where at least the animations works out of the box.

---

<div class="post-metadata">

**Author:** ![tuatec](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tuatec](https://forums.unrealengine.com/u/tuatec)\
**Post date:** [June 6, 2022, 2:18pm UTC](https://forums.unrealengine.com/t/are-offsets-supported-within-the-ik-retarget/570178/9 "2022-06-06T14:18:23Z")

</div>

Yeah the ik & virtual bones are not handled by IK retargeting. What I did is to implement a new solver that can constraint those bones again. Will publish a video soon about how I did it. So far it supports ik and virtual bones. 😉

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/7/2/372b113191baa1b40e295ac5b37cfa995beaa7fc.jpeg)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/7/f/67fb6ab0d441287a9a8eefcab5ab4b86e681265f.jpeg)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/c/a/7ca5c33bb71754be688bdab45624cd6e311bd73f.jpeg)

In case you’re interested in learning how I created other tools to make the ALS character intergration more stream lined check out, [https://www.youtube.com/playlist?list=PLslFX7TZAr8\_kS1zdzEvrjBXI1gMRckZE](https://www.youtube.com/playlist?list=PLslFX7TZAr8_kS1zdzEvrjBXI1gMRckZE).

But so far what I lose are the transforms of the ik\_hand\_gun bone. There I’m still trying to find a solution.

---

<div class="post-metadata">

**Author:** ![piontek](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/piontek/32/1194706_2.png) [@piontek](https://forums.unrealengine.com/u/piontek)\
**Post date:** [February 27, 2023, 3:36am UTC](https://forums.unrealengine.com/t/are-offsets-supported-within-the-ik-retarget/570178/10 "2023-02-27T03:36:48Z")

</div>

This issue still persists. I can’t retarget properly from UE4 to UE5 manny and I tried a lot. I also edited the Animation after retargeting to UE5 manny, I edited in the Sequencer with FK, removed the IK Curves and snapped them to the foots, but this makes the feet rotating very strangely, so it also doesn’t work.

I can’t understand why the traditional retarget method from UE5 has been completely removed in UE5, there is no retarget manager anymore, but the IK retargeter which simply does not retarget the IK bones. What is going on there @Unreal_Josh

 ![Fp8OeazWAAA9hhC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/3/2/f321a9500318d5298b33c3170f083042a581f2d5.jpeg)

---

<div class="post-metadata">

**Author:** ![MrElapse1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MrElapse1](https://forums.unrealengine.com/u/MrElapse1)\
**Post date:** [April 4, 2023, 3:04am UTC](https://forums.unrealengine.com/t/are-offsets-supported-within-the-ik-retarget/570178/11 "2023-04-04T03:04:58Z")

</div>

I had a similar result once. The UE5 Manny/Quinn have an additional bones for twsting, like “calf\_twist\_02\_r” which the UE4 mannequin doesn’t have. I accidently retargeted some of these bones “xx\_01” to “xx\_02” or “02” to “01”.

---

<div class="post-metadata">

**Author:** ![tuatec](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tuatec](https://forums.unrealengine.com/u/tuatec)\
**Post date:** [April 20, 2023, 10:15am UTC](https://forums.unrealengine.com/t/are-offsets-supported-within-the-ik-retarget/570178/12 "2023-04-20T10:15:34Z")

</div>

UE4 did not properly retarget ik bones as well. 🙂  
But you can follow my YouTube series it does constraint all bones correctly except “ik\_hand\_gun”. This bone sadly needs to be animated manually, there is no automated why to retarget this precisely.

https://www.youtube.com/embed/videoseries?list=PLslFX7TZAr8-HWlL2bmaZQ5888WS4VMeK&wmode=transparent&rel=0&autohide=1&showinfo=1&enablejsapi=1

---

<div class="post-metadata">

**Author:** ![TorQueMoD](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/torquemod/32/710746_2.png) [@TorQueMoD](https://forums.unrealengine.com/u/TorQueMoD)\
**Post date:** [February 15, 2025, 10:44am UTC](https://forums.unrealengine.com/t/are-offsets-supported-within-the-ik-retarget/570178/13 "2025-02-15T10:44:43Z")

</div>

I just wanted to post my simple solution to my Character’s feet being sunken into the floor:

 ![FeetInFloor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/1/b/91b7127a3319427b02ec2bc6798a7379e928ea96.jpeg)

Open up the character’s Anim BP and then double click on the Control Rig node to edit it.

 ![ControlRig](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/2/e/82e51853ea192b2149238786438251b09b777d62.png)

In the details panel, look for the ShouldDoIKTrace boolean, Right Click it and choose Find References \> By Name. Double clicking on the one reference it finds will jump you over to the CR Mannequin Basic Foot IK section.

 ![FindReference](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/5/e/d5e4294052f85e59ded31f5412c40e42b8ae43c4.png)

On step 4 it finalizes the Z Offsets, so I just inserted an Add node, plugged in a Floor Offset variable and exposed it. While playing around I found that the offset for the pelvis works best when it’s twice the offset of the feet, so I added a multiply node for it. This way you can use the one offset value to offset everything at once.

 ![OffsetAmount](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/d/3/8d332bdd133d314e2008336d8299c3431153be7b.png)

Go back to your Anim BP and Select the Control Rig node and under Inputs you’ll see your FloorOffset variable you created. Check the “Use Pin” checkbox and you’ll now have a value directly in the Control Rig Node for offsetting the feet and pelvis.

 ![UsePin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/f/b/2fbd3ea81983840f7d5bedf1b083fc67add8ca13.png)  
\*_In hindsight I should have named it height offset as it’s not offsetting the floor, but the character’s height. If you character is floating, just use a negative value._  
**You won’t see the result until you simulate or Play.**

 ![FixedHeight](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/e/a/7ea8f058e41112298b6245d3aa8548619eacc70a.jpeg)
