# BIK: Full Body IK Solver

**URL:** <https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267>\
**Category:** Game Development\
**Tags:** unreal-engine\
**Created:** [April 25, 2014, 8:23pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267 "2014-04-25T20:23:15Z")\
**Posts on this page:** 20\
**Page:** 14

<div class="post-metadata">

**Author:** ![darkZ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@darkZ](https://forums.unrealengine.com/u/darkZ)\
**Post date:** [November 13, 2016, 11:40pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/263 "2016-11-13T23:40:04Z")

</div>

I made all these changes, and things still work fine for me, i.e. if I understand your issue correctly. Is your issue that you make some changes to your game project’s cpp or header files and the entire engine requires rebuild ?

Are you by any chance using “Rebuild” to build ? If yes, then that’s a known issue with projects using github engine source and is independent of the plugin. If not, please let me know.

---

<div class="post-metadata">

**Author:** ![Whammy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Whammy](https://forums.unrealengine.com/u/Whammy)\
**Post date:** [November 14, 2016, 2:51am UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/264 "2016-11-14T02:51:07Z")

</div>

There is something screwy going here. As an experiment, I used the stock packaged binaries for 4.13.2 and created a c++ project for the 3rd person template. It was automatically compiled after a few seconds and the editor opened with the project ready to go. Closing the editor, inserting the plugin, and restarting causes no issues. Adding a BIK node to an anim bp causes no issues either.

Now repeat the process for a Git source editor build. The Git version does not automatically compile the new project. Furthermore, if you attempt to compile the new project manually, VS demands that you rebuild the editor and ShaderCompileWorker. (The editor and SCW are tagged as out of date.) WTF? (This is without the plugin installed at this point.) So it’s looking like there’s something rotten in the Git version I’m using with the build system.

So let me mess with this some more. It looks like there’s something wrong with the release source build on Git.

---

<div class="post-metadata">

**Author:** ![Whammy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Whammy](https://forums.unrealengine.com/u/Whammy)\
**Post date:** [November 16, 2016, 5:17pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/265 "2016-11-16T17:17:13Z")

</div>

I went back to the stock editor which solved the plugin build issues. However, I’m having trouble with BLook when used with a skeleton other than the mannequin. It’s crashing immediately when hitting play or simulate. All I did to produce this was to add a BLook anim node to a very simple animation script. The new skeleton has the same back/neck/head hierarchy as the stock mannequin.

MachineId:4799BBC94746EEDE6E6B80B8F278A99C  
EpicAccountId:

Access violation - code c0000005 (first/second chance not available)

UE4Editor\_Core  
UE4Editor\_Core  
UE4Editor\_Engine  
UE4Editor\_Engine  
UE4Editor\_Engine  
UE4Editor\_Engine  
UE4Editor\_FullBodyIKPlugin!UAimTargetComponent::Solve() [c:\shailen\unrealprojects\vrik\_4\_13\plugins\animation\fullbodyikplugin\source\fullbodyikplugin\private\animation\aimtargetcomponent.cpp:39]  
UE4Editor\_FullBodyIKPlugin!FBLookSolver::PreSolve\_Super() [c:\shailen\unrealprojects\vrik\_4\_13\plugins\animation\fullbodyikplugin\source\fullbodyikplugin\private\animation\bonecontrollers\blooksolver.cpp:175]  
UE4Editor\_FullBodyIKPlugin!FBLookSolver::Solve() [c:\shailen\unrealprojects\vrik\_4\_13\plugins\animation\fullbodyikplugin\source\fullbodyikplugin\private\animation\bonecontrollers\blooksolver.cpp:212]  
UE4Editor\_FullBodyIKPlugin!FAnimNode\_BLook::EvaluateBoneTransforms() [c:\shailen\unrealprojects\vrik\_4\_13\plugins\animation\fullbodyikplugin\source\fullbodyikplugin\private\animation\bonecontrollers\animnode\_blook.cpp:118]  
UE4Editor\_AnimGraphRuntime  
UE4Editor\_Engine  
UE4Editor\_AnimGraphRuntime  
UE4Editor\_Engine  
UE4Editor\_Engine

Edit: I had a mannequin in the level in addition to my player character. Both had BLook added to their anim graphs. It seems that running them individually works just fine. But having them both in the level triggers the crash.

---

<div class="post-metadata">

**Author:** ![Whammy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Whammy](https://forums.unrealengine.com/u/Whammy)\
**Post date:** [November 21, 2016, 2:32am UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/266 "2016-11-21T02:32:16Z")

</div>

Is there an adjustment for getting the feet on the ground? My character is floating about 6" about the surface of the floor.

---

<div class="post-metadata">

**Author:** ![Whammy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Whammy](https://forums.unrealengine.com/u/Whammy)\
**Post date:** [November 22, 2016, 8:46pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/267 "2016-11-22T20:46:46Z")

</div>

BLook is unstable:

UE4Editor\_FullBodyIKPlugin!UAimTargetComponent::Solve() [c:\shailen\unrealprojects\vrik\_4\_13\plugins\animation\fullbodyikplugin\source\fullbodyikplugin\private\animation\aimtargetcomponent.cpp:39]  
UE4Editor\_FullBodyIKPlugin!FBLookSolver::PreSolve\_Super() [c:\shailen\unrealprojects\vrik\_4\_13\plugins\animation\fullbodyikplugin\source\fullbodyikplugin\private\animation\bonecontrollers\blooksolver.cpp:175]  
UE4Editor\_FullBodyIKPlugin!FBLookSolver::Solve() [c:\shailen\unrealprojects\vrik\_4\_13\plugins\animation\fullbodyikplugin\source\fullbodyikplugin\private\animation\bonecontrollers\blooksolver.cpp:212]  
UE4Editor\_FullBodyIKPlugin!FAnimNode\_BLook::EvaluateBoneTransforms() [c:\shailen\unrealprojects\vrik\_4\_13\plugins\animation\fullbodyikplugin\source\fullbodyikplugin\private\animation\bonecontrollers\animnode\_blook.cpp:118]  
UE4Editor\_AnimGraphRuntime

It runs for about 30 seconds or so, then crashes. Disabling the BLook IK allows the rest of BIK to run.

---

<div class="post-metadata">

**Author:** ![dMsLT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dMsLT](https://forums.unrealengine.com/u/dMsLT)\
**Post date:** [November 23, 2016, 8:56pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/268 "2016-11-23T20:56:12Z")

</div>

Oh man, when is this coming to the asset store? I’m working on VR game and really need this. Would be happy paying even 100eur+.

---

<div class="post-metadata">

**Author:** ![RayRayJnr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RayRayJnr](https://forums.unrealengine.com/u/RayRayJnr)\
**Post date:** [November 29, 2016, 2:26am UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/269 "2016-11-29T02:26:20Z")

</div>

Will there be a 4.14 release?

---

<div class="post-metadata">

**Author:** ![superman\_tb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@superman\_tb](https://forums.unrealengine.com/u/superman_tb)\
**Post date:** [December 1, 2016, 1:47pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/270 "2016-12-01T13:47:17Z")

</div>

Waiting for a 4.14 release too…

---

<div class="post-metadata">

**Author:** ![OsoArcade](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@OsoArcade](https://forums.unrealengine.com/u/OsoArcade)\
**Post date:** [December 5, 2016, 6:32pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/271 "2016-12-05T18:32:54Z")

</div>

Unreal Engine 4.14.0 Test Video

[![]( " - YouTube") ](https://www.youtube.com/watch?v=fL5JwLkGBB4)

😃

---

<div class="post-metadata">

**Author:** ![Whammy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Whammy](https://forums.unrealengine.com/u/Whammy)\
**Post date:** [December 6, 2016, 3:00am UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/272 "2016-12-06T03:00:02Z")

</div>

One thing I hoped for was the ability of BIK to make adjustments to a pose in order to aim a weapon. The look functionality for moving the head works great (though unstable). It would be nice if there were a similar function to make the arms move for weapon aiming.

---

<div class="post-metadata">

**Author:** ![unit23](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/unit23/32/1223962_2.png) [@unit23](https://forums.unrealengine.com/u/unit23)\
**Post date:** [December 6, 2016, 4:11am UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/273 "2016-12-06T04:11:46Z")

</div>

> [@OsoArcade;633347](#):
>
> Unreal Engine 4.14.0 Test Video  
> [https://youtube.com/watch?v=fL5JwLkGBB4](https://youtube.com/watch?v=fL5JwLkGBB4)  
> 😃

This happens when the height from feet to floor is a little off, needs some tweaking inside the BIK component settings. However, in 4.12 version i’ve tested sometimes this even happened after adjustments, for instance when sliding around a rock, or wall, and there is a steep height. This behavior suggests that the tick, or amount of traces could be lowered, maybe, though unclear how feasible this approach would be.

Does your model uses APEX clothing, because of the root mesh interference? There is a solution if true.

---

<div class="post-metadata">

**Author:** ![darkZ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@darkZ](https://forums.unrealengine.com/u/darkZ)\
**Post date:** [December 6, 2016, 4:49am UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/274 "2016-12-06T04:49:20Z")

</div>

Hello all,

I am in the middle of working on some API changes which is moving towards providing integration source code to you all so that you can build your own plugins. The core of the solver will remain closed source still, but it does not depend on any UE4 source code. This will allow for easy setup with most versions of UE4 you might be using.

Build for UE4.14.0 is ready but needs a bit more testing still. If you are waiting for the build, please send me an email and I will reply with the current build.

I have looked into the BLook stability issue, will provide an update soon.

The foot offset problem while standing on rocks will be investigated as soon as I am done with the aforementioned API changes. Thank you all for your patience.

The effector components can be used to pose hands (although not fingers) for the weapons. Can you describe a bit more into what doesn’t work there ?

Best,

---

<div class="post-metadata">

**Author:** ![Whammy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Whammy](https://forums.unrealengine.com/u/Whammy)\
**Post date:** [December 6, 2016, 2:05pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/275 "2016-12-06T14:05:13Z")

</div>

I know the hand effectors can be used to position the arms for weapon aiming. What I am talking about is the ability to have the arms track an aim target much like the head currently can do. This capability is available on some of the other Ik solvers and would significantly reduce the animation demands and provide a more natural looking character. Currently, aiming the arms still requires the use of blend spaces and aim offsets which produce somewhat stiff looking results.

---

<div class="post-metadata">

**Author:** ![darkZ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@darkZ](https://forums.unrealengine.com/u/darkZ)\
**Post date:** [December 6, 2016, 4:01pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/276 "2016-12-06T16:01:56Z")

</div>

Have you looked at this tutorial and still doesn’t fit your need ?

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/0/4/004053e758a5388a9dfcec13f9fa6d0cd86deb59.jpeg "BIK for UE4 : Full Body IK Build 05 - Weapon Holding and AimIK Tutorial") ](https://www.youtube.com/watch?v=CJn90JGwiKM)

If so, can you describe what is missing and I will look into how to support that usecase.

---

<div class="post-metadata">

**Author:** ![nkey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nkey](https://forums.unrealengine.com/u/nkey)\
**Post date:** [December 6, 2016, 11:20pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/277 "2016-12-06T23:20:25Z")

</div>

> [@;633639](#):
>
> Hello all,
> 
> I am in the middle of working on some API changes which is moving towards providing integration source code to you all so that you can build your own plugins. The core of the solver will remain closed source still, but it does not depend on any UE4 source code. This will allow for easy setup with most versions of UE4 you might be using.

Happy to know!

---

<div class="post-metadata">

**Author:** ![Whammy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Whammy](https://forums.unrealengine.com/u/Whammy)\
**Post date:** [December 8, 2016, 2:32pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/278 "2016-12-08T14:32:07Z")

</div>

> [@](#):
>
> Have you looked at this tutorial and still doesn’t fit your need ?
> 
> If so, can you describe what is missing and I will look into how to support that usecase.

I looked at that tutorial and gave it a try. What I found was that the head does track quite well. But the arms/hands only partially follow since the torso motion is distributed. (The head look motion is being distributed thru the spine a little at each bone junction.) For example, suppose the head may want to do a simple look up 40 degrees to track an aim target. The neck01, spine01, spine02 and spine03 may only bend 10 degrees each to achieve the 40 degree head tilt. This means the arms are off 10 degrees (the amount of bend in neck01.) This gets worse if there is any body twisting involved. Also, having a target that’s nearby is also problematic because the weapon’s viewpoint is often quite a bit lower than the head’s viewpoint (especially true for hip fired weapons) which creates a nasty looking parallax problem for weapon aiming.

I believe Ikinema has a feature that allows the arms to have their own aim target. I don’t think having a separate aim target is really necessary (though it does allow the character to look around while continuing to hold aim). But the ability of the IK solver to explicitly move the hands/arms to track a target would be a welcome addition. It might work as having the hand effectors setting the initial grip position and allowing the user to specify weapon forward vector (like the head does). Then a weapon look animation node would move the arms to track an aim target using an analogous feature to BLook. I would see the animation chain as applying the character animation, then applying a base aim offset to establish a rough aiming posture, and finally allowing BIK/BLook to make their adjustments as needed.

---

<div class="post-metadata">

**Author:** ![darkZ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@darkZ](https://forums.unrealengine.com/u/darkZ)\
**Post date:** [December 8, 2016, 8:54pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/279 "2016-12-08T20:54:59Z")

</div>

> [@Whammy;634968](#):
>
> I looked at that tutorial and gave it a try. What I found was that the head does track quite well. But the arms/hands only partially follow since the torso motion is distributed. (The head look motion is being distributed thru the spine a little at each bone junction.) For example, suppose the head may want to do a simple look up 40 degrees to track an aim target. The neck01, spine01, spine02 and spine03 may only bend 10 degrees each to achieve the 40 degree head tilt. This means the arms are off 10 degrees (the amount of bend in neck01.) This gets worse if there is any body twisting involved. Also, having a target that’s nearby is also problematic because the weapon’s viewpoint is often quite a bit lower than the head’s viewpoint (especially true for hip fired weapons) which creates a nasty looking parallax problem for weapon aiming.
> 
> I believe Ikinema has a feature that allows the arms to have their own aim target. I don’t think having a separate aim target is really necessary (though it does allow the character to look around while continuing to hold aim). But the ability of the IK solver to explicitly move the hands/arms to track a target would be a welcome addition. It might work as having the hand effectors setting the initial grip position and allowing the user to specify weapon forward vector (like the head does). Then a weapon look animation node would move the arms to track an aim target using an analogous feature to BLook. I would see the animation chain as applying the character animation, then applying a base aim offset to establish a rough aiming posture, and finally allowing BIK/BLook to make their adjustments as needed.

I see, this all makes sense. Thank you for the detailed description. I will look into how to support this with BIK.

Best,

---

<div class="post-metadata">

**Author:** ![darkZ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@darkZ](https://forums.unrealengine.com/u/darkZ)\
**Post date:** [December 18, 2016, 5:32pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/280 "2016-12-18T17:32:14Z")

</div>

I have resolved the foot placement issues. Also have worked a fair bit on quadruped support.

[![](https://i.gyazo.com/0effcad2458864a6fcd95e1d44f18ebe.gif) ](https://i.gyazo.com/0effcad2458864a6fcd95e1d44f18ebe.gif)

---

<div class="post-metadata">

**Author:** ![Aumaan\_Anubis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Aumaan\_Anubis](https://forums.unrealengine.com/u/Aumaan_Anubis)\
**Post date:** [December 19, 2016, 3:49pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/281 "2016-12-19T15:49:17Z")

</div>

> [@;639724](#):
>
> I have resolved the foot placement issues. Also have worked a fair bit on quadruped support.

OOOOhhhhhhh that looks incredible!!!

---

<div class="post-metadata">

**Author:** ![Aumaan\_Anubis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Aumaan\_Anubis](https://forums.unrealengine.com/u/Aumaan_Anubis)\
**Post date:** [December 19, 2016, 4:52pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/282 "2016-12-19T16:52:30Z")

</div>

I just have to comeback and comment on how awesome that looks. What I like most is how responsive it is and the chain reaction going up the chain. Knees move first, then the hips, as a viewer one can really infer the transfer of motion up the leg! It looks great!

[Previous page](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267.md?page=13)

[Next page](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267.md?page=15)
