1
$\begingroup$

I'm very new to Blender and I'm learning how to rig and animate characters so I can import them to Unity. I made a humanoid model and rigged it, but when I try to move its legs the model deforms a lot.

Below are the images of the rig and the modeling deforming when I move its leg, and also the image of the model in edit mode:

enter image description here

enter image description here

enter image description here

How can I avoid this from happening? I'm still new so I don't know whether or not the problem is the model, rig, or both.

Leg being lifted up: enter image description here enter image description here

Updated file: Leg becoming flat:

enter image description here

This is my blend file:

Updated blend file:

$\endgroup$
7
  • $\begingroup$ Hello please share your file: blend-exchange.com $\endgroup$
    – moonboots
    Commented Jan 6 at 16:12
  • 1
    $\begingroup$ Don't move the leg. Rotate the leg. $\endgroup$
    – Nathan
    Commented Jan 6 at 16:47
  • $\begingroup$ I tried rotating the leg upward but the bottom half of the torso gets deformed that way too $\endgroup$
    – Flint
    Commented Jan 6 at 17:02
  • $\begingroup$ At a quick glance, it doesn't look as if you've parented the top leg bones to the root bone (Ctrl-P > Keep offset) and have you parented the body to the armature with automatic weights? $\endgroup$
    – John Eason
    Commented Jan 6 at 17:52
  • $\begingroup$ Yes they're parented with automatic weights, and thanks for letting me know the leg bones weren't parented to the root $\endgroup$
    – Flint
    Commented Jan 6 at 18:12

1 Answer 1

1
$\begingroup$

You have inner faces, remove them:

enter image description here

Also change the modifier stack order, put the Subdivision Surface modifier at the bottom:

enter image description here

At last select all the vertices that are not supposed to move when you rotate the upper leg and remove from the upper leg vertex group:

enter image description here

For the updated file, assign these 2 vertices to the UpperLeg.L vertex group and see if it is good:

enter image description here

$\endgroup$
7
  • $\begingroup$ Hello, I did all these steps and it fixed the issue with the torso deforming! But now when I raise any of the legs the upper thigh of that leg gets flattened. I tested to see if removing the leg vertices from the vertex groups would help but it just messed up the leg even more. Would this be caused by the placement of the bones? $\endgroup$
    – Flint
    Commented Jan 6 at 19:45
  • $\begingroup$ Could you please share your new file? $\endgroup$
    – moonboots
    Commented Jan 6 at 19:52
  • $\begingroup$ Of course, I have now added the updated blend file to the question $\endgroup$
    – Flint
    Commented Jan 6 at 20:06
  • $\begingroup$ See my edit and tell if it fixes your problem $\endgroup$
    – moonboots
    Commented Jan 6 at 20:14
  • $\begingroup$ I assigned the vertices but the leg still becomes flat, I posted an image of what I'm talking about above the two blend files in the question $\endgroup$
    – Flint
    Commented Jan 6 at 20:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .