|10 October 2014|
Problem importing animated rotation with my script.
While trying my hand on doing some Python scripting in Poser I came across the following problem.
What I'm trying to do, is to use a Python script to import some basic animation from an imported Collada file. Location works well, but rotations behave a bit erratic.
I created a test scene in Blender, exported it as Collada 1.4.1 file and checked with Cinema4D that the export was correct. The animation looked ok in C4D. The script imported animation in Poser however does not.
The attached animated GIFs show how the cube should rotate and how it actually does in Poser.
What puzzles me, is that the rotation values are pretty much what I expected. Both Poser and Blender use Euler XYZ as rotation model as far as I know, the only difference being that Blender uses Z-Up axis and Poser Y-Up. So the rotation values are translated:
Blender -> Poser
X -> X
Y -> -Z
Z -> Y
But the cube jumps to weird angles over the four frames.
I wonder if I'm missing something about rotation animation in this case.
Anyone got an idea what I might be doing wrong? I'm grateful for all pointers that I could follow to debug this.
Thanks in advance!
|reply share thread|