Implement the functionality of camera animation and the relevant methods
and conditions.