I'm searching for a simple script to move a camera in Blender 2.61 with Python. I thought this would be an easy task, but the Camera object has no properties like loc or something similar.
I only found scripts online for Blender 2.49 but they don't work anymore because of the immense API changes with Blender 2.5.
I would appreciate any hints.
A friendly user on reddit pointed me to one correct solution: The trick is to retrieve the camera as an
Object, not as aCamera. With this way, you can set the location via the standard way and set keyframes.If you want to set
Cameraspecific objects, you have to retrieve it viabpy.data.cameras.