x


Blender model behavior in Unity - Rigging

Hey guys, I rigged a model that I made in blender and the mesh and bones would move as expected. However, when I imported it to unity the bones that control the mesh had different pivot points(now in the middle and not at the start of the bone) which is causing them to rotate around their middle point. Here is the blender image:alt text

and this is in untiy:
alt text

Any ideas why this is happening?

more ▼

asked May 05 '12 at 01:16 PM

merry_christmas gravatar image

merry_christmas
3.4k 6 11 18

Anyone encountered this problem?

May 08 '12 at 04:09 AM merry_christmas

Hmm, when I rotate the bones in the editor using the "rotation handels" both the values of it's rotation and position get altered (making it rotate around its middle). When I change the rotation via the inspector, the bone rotates as it should(position isn't altered). This is a bit of a problem since I don't necessarily want to change every arm movement via the inspector :) Piflik, how can you change the transformation center to pivot - in Unity or blender? Thanks

May 08 '12 at 12:18 PM merry_christmas

Haha, thanks that worked perfectly.. thought I'd have to remake the whole thing :) If you posted your comment as an answer I can accept it!

May 08 '12 at 05:39 PM merry_christmas

Converted it to an answer.

May 08 '12 at 05:42 PM Piflik
(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

Are you sure the pivot is in the middle of the bone? You might be using the wrong transformation center (center instead of pivot).

more ▼

answered May 08 '12 at 09:43 AM

Piflik gravatar image

Piflik
5.4k 17 27 44

Don't know about Blender, but in Unity there are two little buttons next to the different transform buttons to control the transform coordinate system (the first switches between Pivot and Center, the second switches between World and Local). You can switch the first by pressing 'z', too.

May 08 '12 at 04:02 PM Piflik
(comments are locked)
10|3000 characters needed characters left

Mmm I have dealed with a lot of issues with Unity and Blender but this is a weird one, I don´t know what is happening so I just can give you some tips:

Export in FBX each arm individually.

Try using weight painting.

Try rigging them again.

Good Luck!

more ▼

answered May 08 '12 at 05:04 AM

Noah 1 gravatar image

Noah 1
1.1k 33 45 50

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x996
x750
x584
x71

asked: May 05 '12 at 01:16 PM

Seen: 996 times

Last Updated: May 08 '12 at 05:42 PM