Megaboy
1
Hello everyone.
I’m using MakeHuman, Blender and Unity to create character.
What I’m trying to achieve is to give a player ability to control character’s body parts(different in certain game situations) position with mouse movement
Character has rig, imported from MakeHuman and clothes, which were created and attached to rig(with auto weights) in Blender
EXAMPLE
I have a problem (I’m going to explain it on head controll example):
When I’m playing normal animations, which I created in Blender, everything works fine
But when I’m trying to control character’s head position directly with certain bone (e.g. “neck” or “DEF-neck”) of the armature, mesh gets all distorted. But it works perfect with the same bone in Blender.
I tried to repaint weightse in blender, but it doesn’t work (weights look ok, but mesh still gets messed up)
I also noticed, that there are two different rigs, created automatically by MakeHuman. One of them has “DEF” prefix for each bone.
Those rigs are somehow connected, but I don’t understand how, and which one to use.
QUESTIONS
- How to fix mesh distortion?
- Which rig should I use?
Here are my steps:
- Create naked character in MakeHuman, save it as .mhm file with rig
- Import .mhm into Blender
- Create clothes (as separated mesh)
- Bind clothes to armature (with automatic weights)
- Create animations
- Export model to .fbx
- Load .fbx in unity
- Move bone in editor mode (mesh gets distorted)
Hi, i don’t know how good you know blender. Here is an old video I made once which showing you need to paint every mesh for bone:
wagi0001 8197 - YouTube
- Automatig weights aren’t always good enough solution and sometimes we need manually to repaint weights. That problem is with your eyes (exactly behind eyes). it’s also not recomended to have one mesh covering another like in that video (more stuff to counting by PC). In makehuman there is option to hide body under clothes.
- It’s much easier to make animations with rigs (one objects controling more, Ie bow), but i’m exporting only bones, every animations you make will export to those bones so you don’t need whole rig in unity especially rigs dosen’t working as in blender (you need an addon or code it yourself).