We will only need one, fairly short script to control and manage our camera:
CameraRig. Also, to keep it simple, set its position to zero on each axis.
TopPoint. Set their X axis positions to
5. Position the
LeftPointto be in front of the slingshot and at
3on the Y axis. The
RightPointneeds to be positioned in front of the
pigstructure you created. The
TopPointcan be over the slingshot, but needs to set to
8on the Y axis. These three points will define the limits of where our camera can move when being dragged and following birds.