3 Replies Latest reply on Dec 29, 2014 4:18 AM by joev

    How do I make my object spin?

    joev Level 3

      This is my first After Effects project. I am trying to make this image, a vector graphic from Illustrator, spin.

      reel.jpg

      I tried a regular 2D rotation that makes it wobble, a 3D layer made it look like a gyroscope and a new camera made it look like a window shutter flapping on one hinge. I am not sure how to approach this to make the image spin and keep the prospective/orientation.

       

      Any help/suggestions will be appreciated.

        • 1. Re: How do I make my object spin?
          Todd_Kopriva Level 8

          If you want the reel to spin about the central axle hole, you're going to need to model this in 3D. The object is simple enough that you could do it with extruded shape layers and the ray-traced 3D renderer, but I'd probably do this in Cinema 4D, since you can use Cinema 4D .c4d scene files in After Effects (and Cinema 4D Lite is included with After Effects).

          • 2. Re: How do I make my object spin?
            Rick Gerard Adobe Community Professional & MVP

            If you want to do this entirely inside AE your graphic is wrong. You need to build up the object with straight on views each a separate layer and then stack them up inside AE as 3D layers. You offset each layer in Z by one pixel using an expression like this: [value[0], value[1], index]

             

            Then you parent all of the layers to a  3D null and animate the rotation property. Adding a light helps the effect. Your project would look like this if you made it all with shape layers:

            Screen Shot 2014-12-28 at 9.18.58 PM.png

            You could also use RayTraced rendering and extrude the reel parts. The theory is the same. You build up your object using flat layers then parent them to a 3D null to group them, then add lights and cameras. You just can't do it with artwork that is already in perspective.

             

            Here's a CC project file tor you to dissect. FilmReelFromShapeLayers_CC.aep (Note: DropBox is probably going to add a .txt extension after the .aep. Just delete it so the name of the file is FilmReelFromShapeLayers_CC.aep)

            There's also a Ray-Traced version for you to play with if your system has a compatible NVIDIA card or you want to struggle with incredibly long render times.

            Screen Shot 2014-12-28 at 9.33.23 PM.png

            • 3. Re: How do I make my object spin?
              joev Level 3

              Thanks Rick for the sample project and both of you for the suggestions. I'll read more on Ray Traced and Cinema 4D.

               

              Looks like a good learning project.