Does the MakeHuman game.json skeleton have IK included ?

If your topic doesn't fit anywhere else, put it here.

Moderator: joepal

Does the MakeHuman game.json skeleton have IK included ?

Postby megabrogames » Tue Dec 19, 2017 7:20 pm

Hi all,

New member having recently found out about this great bit of software.

I am currently able to export my MakeHuman model and import it straight into Unity without any problems. Also my motion files worked immediately with it too, excellent!!

I see in my Scene View in Unity when I run the game, there are these little spheres near the joints of his legs and arms etc, it looks to me like IK 'bones' but I am still very new to animations and struggling to see how to use them.

The first question I need answering before I can continue working on my project is if the IK is there from MakeHuman automatically (my feeling is that it is there, because of those spheres and the fact that if they can put the skeleton there automatically, then seems logical they could put the IK bones there too)

Would be super convenient if this is the case. If it isn't then I guess I'll have to put the model into Blender and make my own.

As I said, I'm only looking for the answer of if the IK are included or not. Accessing them from Unity script is the next problem, but i think i can figure that out myself as long as I know the IK bones are there and what to look for.



Thanks for any help
megabrogames
 
Posts: 2
Joined: Tue Dec 19, 2017 7:11 pm

Re: Does the MakeHuman game.json skeleton have IK included ?

Postby joepal » Tue Dec 19, 2017 9:47 pm

Makehuman does not specifically implement IK. In makehuman, the rig only specifies which bones connect to what other bones, and what vertex points they are influencing. IK/FK is something you do with the toon after export, not a property of the rig as such.

The game rig is, however, compatible with Unity's "Mecanim" system, which provides IK. See https://docs.unity3d.com/560/Documentat ... atics.html. So, seeming as you have already managed to map the game rig on top of mecanim, you should have IK functionality available that way. (If this was done accidentally, see http://www.makehumancommunity.org/wiki/ ... them_there for a longer discussion)

So the answer is that you're looking for answers in the wrong place. Yes, you most likely have access to IK, but this is not due to something makehuman has done. The blobs/gizmos/controls you see are for the mecanim system, they don't come from MakeHuman.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4474
Joined: Wed Jun 04, 2008 11:20 am

Re: Does the MakeHuman game.json skeleton have IK included ?

Postby megabrogames » Thu Dec 21, 2017 1:10 pm

joepal wrote:Makehuman does not specifically implement IK. In makehuman, the rig only specifies which bones connect to what other bones, and what vertex points they are influencing. IK/FK is something you do with the toon after export, not a property of the rig as such.

The game rig is, however, compatible with Unity's "Mecanim" system, which provides IK. See https://docs.unity3d.com/560/Documentat ... atics.html. So, seeming as you have already managed to map the game rig on top of mecanim, you should have IK functionality available that way. (If this was done accidentally, see http://www.makehumancommunity.org/wiki/ ... them_there for a longer discussion)

So the answer is that you're looking for answers in the wrong place. Yes, you most likely have access to IK, but this is not due to something makehuman has done. The blobs/gizmos/controls you see are for the mecanim system, they don't come from MakeHuman.




Thanks very much for your helpful answer. (Sorry I have been so long to reply, I kinda forgotten I posted here too.... oops!)

I have now got it kind or working for me in Unity. There are some built-in functions called something like OnAnimatorIK() so I was able to override target positions for the animations and scale them according to the time the animation clips were running for.

The effect so far is very much underwelming, but I feel like its a giant leap in my personal gamedev journey.

Right.... Onto the next problem soon then :P


Thanks again pal!!
megabrogames
 
Posts: 2
Joined: Tue Dec 19, 2017 7:11 pm


Return to General discussions about makehuman

Who is online

Users browsing this forum: No registered users and 1 guest