MHX Eye rotation problem
Issue #133
resolved
当我打开视线时,我的眼睛将顺时针旋转270度。
Comments (2)
-
repo owner -
reporter - changed status to resolved
- Log in to comment
Should be fixed now. The problem was the roll angle of the eye bones, so you need to reimport the character before converting it to mhx .
Apparently my algorithm for calculating roll fails when the bone is almost perfectly aligned along the Y axis. Normally this is not a big deal, but it matters if you turn on the gaze bone, which is a Track To constraint with Z as the up axis. If the roll angle is wrong, Z does not point up and things go bad. You can see the Z axis as the small arrow on the eye bone’s custom shape.