(suppose camera is in the right location already)
I understand if doing this manually I need to select the camera and hold shift and select the curve that I want to follow, then ctrl+p and select "follow path". But how do I make this with python script?
My guess is I can use python script to implement these tow steps in order. It seems that "Follow path" can be achieved by
bpy.ops.object.parent_set(type='FOLLOW')
But this alone won't work.
sorry I'm a newbie to blender.