I created a Bezier curve, my camera is following that curve, tracking an object and thus rendering it from different angles. While running this animation, I also want to print/record the camera pose using Python. I can start the animation in Python using:
import bpy
bpy.ops.screen.animation_play()
But how can I get cam.location
for each animation frame?