You might be able to use the Camera Tool as a starting point