1
$\begingroup$

enter image description here

In this image, the top bone is rotated by 45 degrees, but the model is deformed like there was a rotation of 90 degrees. This also happens for translation and scaling.

For each vertex, the sum of the weights is one.

What am I missing? The code for skinning is inspired by the second piece of code here: Rigged mesh

Thanks

$\endgroup$
4
  • $\begingroup$ check to make sure you don't have 2 armature modifiers $\endgroup$
    – ruckus
    Jun 29, 2015 at 17:25
  • $\begingroup$ You're right! Post this as the answer so I can accept it! Now I just need to find a way to make sure it only creates one modifier instead of two. $\endgroup$
    – widgg
    Jun 29, 2015 at 17:37
  • $\begingroup$ So basically, my error was in my indentation in my python script... the modifier was created in a loop instead of just at the end. $\endgroup$
    – widgg
    Jun 29, 2015 at 17:48
  • $\begingroup$ okay, I don't know python, but i'll just say what I did before. $\endgroup$
    – ruckus
    Jun 29, 2015 at 18:01

1 Answer 1

2
$\begingroup$

This is caused by multiple armature modifiers on the mesh. Delete one to get better results. Notice that for each number of armature modifiers on the mesh, it (the mesh) is bent again by the same angle.

enter image description here

$\endgroup$
0

You must log in to answer this question.

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