Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quaternion mode? #6

Open
WeaselOnaStick opened this issue Jun 28, 2020 · 2 comments
Open

Quaternion mode? #6

WeaselOnaStick opened this issue Jun 28, 2020 · 2 comments

Comments

@WeaselOnaStick
Copy link

This add-on seem to change many bones' rotation mode to euler which doesn't suit my needs at all. Plus, I think it breaks baking IK constraints entirely. I try to use blender's default pose bake and IK constraints just get deleted without impacting the bones

@Mwni
Copy link
Owner

Mwni commented Jun 28, 2020

You have to check 'Visual Keying' as stated in the docs for the constraints to get keyed.
The rotation mode does get set to euler I believe. That is simply because the effort was not worth it for me. But you can always adjust that bit of the code yourself. Replace the rotation_euler driver in drivers.py. bone_rot serves a rotation matrix which you can transform into the mode you want.

@WeaselOnaStick
Copy link
Author

Visual keyeing is enabled. I tried both your operator and blender's default baking and neither really worked.

Sadly the code is a bit hard for me to edit. I would greatly appreciate if someone made a quaternion version of this add-on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants