Drivers & rotation limits not working properly with quaternions

Issue #819 resolved
jeroen b created an issue

In global settings I selected quaternions & rotation limits. After importing G8F/G8.1F, the JCM-drivers for the quaternion joints are not working properly and the rotation limits for these joints are not there.

Strangely, after converting to Rigify or MHX, the drivers are OK as far as I can see.

Comments (4)

  1. Alessandro Padovani

    Indeed it makes little sense to set limits for quaternions. That is, quaternions are used for free joints, otherwise you go for euler if you need limits.

  2. Thomas Larsson repo owner

    As Alessandro said, setting limits for quaternions makes little sense. It is also non-trivial to keep track of how daz axes map to blender axes, since blender bones must point in the Y direction. So if I tried to add limits, it may well create a new set of bugs.

    The jcm drivers have been fixed, or at least improved. For quaternion bones, the driver target rotation mode use to be set to quaternion, too. This is wrong by a factor pi/2, and perhaps in other ways as well. The rotation mode is now set to Auto Euler instead. This should be better, and even right at least if the rotation is large around one axis only.

  3. Log in to comment