I’m a programmer but completely new to python/blender.
I have a rotation matrix from another program and cannot work out how to set the rotation matrix of the Camera to my matrix, can anyone help?
I have a very basic start
newMat = mathutils.Matrix([[x, y, z],[x, y, z],[x, y, z]])
for obj in bpy.context.selected_objects:
obj.matrix_world = newMat
I want to select my Camera then set its rotation, I know the last line is for scale rot and pos, is it even possible to just do rotation?