Repository navigation
force evaluate animation system, fix #10 - #11
Conversation
|
This looks good, but is it really necessary to set the rotation in this way? Seems like its a bit redundant to set quaternion, euler AND axis angle, no? |
|
because blender only use object with one rotation mode, (in Also, for example, if I only update |
|
wouldnt the cleaner solution then be to only set the correct rotation based on rotation mode? |
|
do you mean something like this? if obj.rotation_mode == "EULER":
obj.rotation_euler = obj.evaluated_get(depsgraph).rotation_euler
if obj.rotation_mode == "QUATERNION":
obj.rotation_quaternion = obj.evaluated_get(depsgraph).rotation_quaternion
if obj.rotation_mode == "AXIS_ANGLE":
obj.rotatino_axis = obj.evaluated_get(depsgraph).rotation_axis |
|
yes, but make it an |
|
ok. will do it later |
|
thanks, i will merge this as it is for now but will probably make some adjustments later |
No description provided.