Hello People
I’ve a Python-Blender problem with the Ter2blend script I made. It is a big bug and I can’t solve in a million years! So can you have a look please?
It’s all about cameras:
In Blender when you rotate a camera with rotX rotY and rotZ the rotations is around fixed coordinate system. This means that the orientation of the X,Y,Z axis stay the same before and after the rotations.
But I want now to import a camera position from another application which gives me a heading, pitch and bank. These are rotations around local axis! you start with an XYZ coordinate system. After the first rotation (pitch) you have a new system X’Y’Z’. After the two other rotations one ends with a new coordinate system X’’‘Y’’‘Z’’’. Blender can’t work with these angles.
So here is my question: How do I convert heading, pitch and bank to angles which Blender can understand (in a python script).
FYI: I need this desperat for my Ter2Blend script which is dead wrong when using banking! If I can’t find a solution I will have to delete it from the web I can’t let it stay with a bug like this. I feel stupid…
I hope there is someone who can solve this!
Thanks a lot
Guy