# 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:** 11

<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:** [June 15, 2016, 7:44pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/203 "2016-06-15T19:44:52Z")

</div>

I’ve been toying with the double joint problem and it looks like there’s a simple relationship that allows the double joint to be modeled as a single joint which allows the IK solver to work. It’s then trivial to convert back to a double joint without affecting the IK solution. (This assumes I didn’t mess up my math.) The trick should work with CCD solvers without any special issues.

I’m going to play with this idea some more. Right now, I’m trying to figure out a quick way to deal with leg twisting and how to integrate poll targets into the IK solver.

---

<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:** [June 16, 2016, 6:47am UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/204 "2016-06-16T06:47:11Z")

</div>

> [@Whammy;548477](#):
>
> I’ve been toying with the double joint problem and it looks like there’s a simple relationship that allows the double joint to be modeled as a single joint which allows the IK solver to work. It’s then trivial to convert back to a double joint without affecting the IK solution. (This assumes I didn’t mess up my math.) The trick should work with CCD solvers without any special issues.
> 
> I’m going to play with this idea some more. Right now, I’m trying to figure out a quick way to deal with leg twisting and how to integrate poll targets into the IK solver.

Yes, you would solve for double joins by transforming the double joints to a single joint and then project the results back to double joints after solving for IK.

However, I haven’t yet tested these kind of setups so far unfortunately.

---

<div class="post-metadata">

**Author:** ![jtsmith](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jtsmith](https://forums.unrealengine.com/u/jtsmith)\
**Post date:** [June 17, 2016, 12:51pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/205 "2016-06-17T12:51:10Z")

</div>

Very interesting plugin! Couple questions: does this require your project to be C++ or can it work as blueprint only? How easy would this be to setup to hold a weapon and move a single hand according to a specified grip point on the weapon mesh? And lastly (for now 😉 ) how can a person go about getting the plugin?

Thanks and keep up the good work!  
Jesse

---

<div class="post-metadata">

**Author:** ![dragoongame](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dragoongame](https://forums.unrealengine.com/u/dragoongame)\
**Post date:** [June 20, 2016, 3:38pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/206 "2016-06-20T15:38:56Z")

</div>

Since Anomotion is travelling, I want to know if I have the luck someone can give me a hint about using BIK:  
I want to use BIK to reproduce the pose of one player in our HTC Vive game. At current step, I want to use the HTC Vive HMD (a HeadMesh component) to locate the skeletal mesh (represent for the player);  
The BP is quite simple, I get the world location of the HMD, and set to the world location of the skeletal mesh;  
But When I moved the HMD to left or right (only change the X coordinate), the skeletal mesh not only moved to left and right, but also to forward and backward, it’s very odd.  
I tried many options, finally I found if I disabled IK in BIK settings, the skeletal mesh moved fine (only to left and right), but if I disabled IK, how can I still use BIK as before?

---

<div class="post-metadata">

**Author:** ![Control](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Control](https://forums.unrealengine.com/u/Control)\
**Post date:** [July 2, 2016, 6:39pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/207 "2016-07-02T18:39:56Z")

</div>

Hello, I purchased the plugin and I am using the Kubold Animset pro animations. The legs move in the idle animation and with this plugin when in idle state character bends in his knees when standing on a flat surface. Is there a way to fix it? So the knees won’t bend?

---

<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:** [July 2, 2016, 6:42pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/208 "2016-07-02T18:42:55Z")

</div>

> [@Control;558249](#):
>
> Hello, I purchased the plugin and I am using the Kubold Animset pro animations. The legs move in the idle animation and with this plugin when in idle state character bends in his knees when standing on a flat surface. Is there a way to fix it? So the knees won’t bend?

I think I have your email regarding this, please check the email reply.

---

<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:** [July 2, 2016, 6:43pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/209 "2016-07-02T18:43:25Z")

</div>

> [@dragoongame;551301](#):
>
> Since Anomotion is travelling, I want to know if I have the luck someone can give me a hint about using BIK:  
> I want to use BIK to reproduce the pose of one player in our HTC Vive game. At current step, I want to use the HTC Vive HMD (a HeadMesh component) to locate the skeletal mesh (represent for the player);  
> The BP is quite simple, I get the world location of the HMD, and set to the world location of the skeletal mesh;  
> But When I moved the HMD to left or right (only change the X coordinate), the skeletal mesh not only moved to left and right, but also to forward and backward, it’s very odd.  
> I tried many options, finally I found if I disabled IK in BIK settings, the skeletal mesh moved fine (only to left and right), but if I disabled IK, how can I still use BIK as before?

Can you email me your BP setup since I experimented with the HMD and haven’t run into this issue ?

---

<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:** [July 2, 2016, 6:45pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/210 "2016-07-02T18:45:14Z")

</div>

> [@jtsmith;549560](#):
>
> Very interesting plugin! Couple questions: does this require your project to be C++ or can it work as blueprint only? How easy would this be to setup to hold a weapon and move a single hand according to a specified grip point on the weapon mesh? And lastly (for now 😉 ) how can a person go about getting the plugin?
> 
> Thanks and keep up the good work!  
> Jesse

The plugin works with both C++ and blueprint based projects.

The use case of a single hand holding a weapon should be easy to setup. The specific grip would come from the input animation.

Please email [EMAIL=“”] for purchasing requests.

---

<div class="post-metadata">

**Author:** ![Control](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Control](https://forums.unrealengine.com/u/Control)\
**Post date:** [July 2, 2016, 7:11pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/211 "2016-07-02T19:11:38Z")

</div>

Thanks. The issue was solved by adjusting the BIK options in Character Blueprint. Thanks for support .

---

<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:** [July 2, 2016, 7:12pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/212 "2016-07-02T19:12:40Z")

</div>

> [@Control;558258](#):
>
> Thanks. The issue was solved by adjusting the BIK options in Character Blueprint. Thanks for support .

Great to hear, thanks !

---

<div class="post-metadata">

**Author:** ![TheAmazingB](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheAmazingB](https://forums.unrealengine.com/u/TheAmazingB)\
**Post date:** [July 4, 2016, 8:12pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/213 "2016-07-04T20:12:02Z")

</div>

So I am fairly noob to game development, so lemme get this straight. With this I wont have to animate walking anymore? All I need is a rigged skeleton, with the IK properly set up, and basically tell it which direction to move and it figures out where to place the feet for me? If so HOOK ME UP!!! This is where I struggle the most lol

---

<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:** [July 7, 2016, 8:29pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/214 "2016-07-07T20:29:41Z")

</div>

> [@TheAmazingB;559183](#):
>
> So I am fairly noob to game development, so lemme get this straight. With this I wont have to animate walking anymore? All I need is a rigged skeleton, with the IK properly set up, and basically tell it which direction to move and it figures out where to place the feet for me? If so HOOK ME UP!!! This is where I struggle the most lol

Unfortunately the IK solver doesn’t work like this.

The task-based locomotion thing might, but that’s still under development and isn’t out yet.

---

<div class="post-metadata">

**Author:** ![Rhynedahll](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rhynedahll](https://forums.unrealengine.com/u/Rhynedahll)\
**Post date:** [July 7, 2016, 8:41pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/215 "2016-07-07T20:41:47Z")

</div>

> [@;560881](#):
>
> The task-based locomotion thing might, but that’s still under development and isn’t out yet.

First that I have heard of this. Could you elaborate?

---

<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:** [July 7, 2016, 8:43pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/216 "2016-07-07T20:43:26Z")

</div>

> [@Rhynedahll;560890](#):
>
> First that I have heard of this. Could you elaborate?

Gladly, here’s a short presentation for the work.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/9/2/2924a5127ff3436811c94bc7bf1b3a7de1daefe3.jpeg "Task-based Locomotion (SIGGRAPH 2016)") ](https://www.youtube.com/watch?v=9VO7aCbRpAY)

---

<div class="post-metadata">

**Author:** ![Rhynedahll](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rhynedahll](https://forums.unrealengine.com/u/Rhynedahll)\
**Post date:** [July 7, 2016, 9:28pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/217 "2016-07-07T21:28:15Z")

</div>

> [@;560892](#):
>
> Gladly, here’s a short presentation for the work.

Intriguing. Any ball park time frame on this?

---

<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:** [July 7, 2016, 9:29pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/218 "2016-07-07T21:29:40Z")

</div>

> [@Rhynedahll;560926](#):
>
> Intriguing. Any ball park time frame on this?

It is a bit hard to say currently as there is a lot of exciting development going on there. I will post an update once there’s some form of a concrete timeline.

---

<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:** [July 11, 2016, 4:31am UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/219 "2016-07-11T04:31:14Z")

</div>

Working on making both the look and the limb IK solver more streamlined. The following has been setup using just the standard UE4 idle pose animation entirely using the BIK plugin for both hands and the aim. Please note that you would still need to provide a good finger pose externally.

[![](https://i.gyazo.com/6152327af3a225c3720169d30cd75d42.gif) ](https://i.gyazo.com/6152327af3a225c3720169d30cd75d42.gif)

---

<div class="post-metadata">

**Author:** ![n00854180t](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@n00854180t](https://forums.unrealengine.com/u/n00854180t)\
**Post date:** [July 11, 2016, 5:58pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/220 "2016-07-11T17:58:38Z")

</div>

Verray nice!

I see you’ve got a Vive controller model sitting there. Are you planning on doing a “VR rig” like IKinema has at all? I know that can be set up manually as well (though for some reason I have an issue with the height offset when using it on the Vive, where the mesh ends up underground), just curious 🙂

---

<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:** [July 11, 2016, 6:18pm UTC](https://forums.unrealengine.com/t/bik-full-body-ik-solver/3267/221 "2016-07-11T18:18:30Z")

</div>

> [@n00854180t;562766](#):
>
> Verray nice!
> 
> I see you’ve got a Vive controller model sitting there. Are you planning on doing a “VR rig” like IKinema has at all? I know that can be set up manually as well (though for some reason I have an issue with the height offset when using it on the Vive, where the mesh ends up underground), just curious 🙂

Haha good eye. Yes I am working on a VR rig. I just had my supervisor order a Vive and should have it delivered by the end week which is when I will really start getting into it. Currently I am having people test things out for me.

---

<div class="post-metadata">

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

</div>

> [@;562774](#):
>
> Haha good eye. Yes I am working on a VR rig. I just had my supervisor order a Vive and should have it delivered by the end week which is when I will really start getting into it. Currently I am having people test things out for me.

Let me know if you need another tester, my project is in a good spot to drop that in and test.

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

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