GabbagabbaHey!
Is there a way to get the Loc[XYZ]-values of an object out of its object-matrix?
GabbagabbaHey!
Is there a way to get the Loc[XYZ]-values of an object out of its object-matrix?
This is answered in the ‘camera loc in python’ thread.
But basically:
mtx = Blender.Object.Get(objectname).matrix
loc = list(mtx[3][:3])
D’Oh!!
I read that thread before, and I know it is very easy to get the Loc-values. But I want the Rot-values. Sorry 'bout that. It was very late last night :-?
/me bangs his head against the wall!
Thanks a lot!!!