Adding a camera to interact with your replicator
Adding a camera to our project and having it interact with a replicator adds even more creative possibilities in Motion. Let's take a look at how we can make replicators and cameras play nicely with each other by adding our own camera to a project.
Getting ready
From the exercise files of this chapter, double-click on the 08_07
project. Play back the project. You should see a grid of animated rounded rectangles that changes size, color, and scale over time because of the sequence replicator. We're going to add a camera to the scene and a behavior to that camera to have it interact with our replicator.
How to do it...
Let's begin by adding a camera to the scene.
Make sure you are on the first frame of your project. Go to the Object menu and choose New Camera. A dialogue box will appear asking if you want to keep the groups as 2D or switch them to 3D. Choose Switch to 3D as shown in the following screenshot:
We're going to add a behavior to the camera...