Animated Camera Switching in Maya
by David on May.28, 2010, under Animating
- Download the Mel Script called AK_Camera_Switching.mel (this will be uploaded soon).
- Add the script to your Maya > Scripts folder
- Open the Script Editor (in bottom right of Maya Window) and type in the command ak_camera_switch(); followed by the numpad ‘Enter’ key to execute the script (as specified in the scripts notes). You should see the GUI appear.
- Create as many camera’s as you want/need in your scene to switch between.
- Click ‘update cameras’ each time you add a new one.
- Click the ‘create main_camera’ button to create the camera we will eventually render out and link to the others.
- Select the first camera in the Camera Switching GUI and starting at frame 0 in your animation, click the ‘set and key’ button to link the ‘main_camera’ to the first camera.
- Animate the first camera as desired
- When you are ready to switch cameras, select the frame you wish to switch cameras at and next select the second camera from the GUI drop down list.
- Click ‘set and key’ again to set the ‘main_camera’ to follow the second camera from this point on (until you switch it again).
- Repeat this process as needed for all cameras until you are done.

