4 Replies Latest reply on Mar 11, 2017 6:47 PM by Gutter-Fish

    A way to rotate a 3D layer about an elliptical path?

    A.I.1 Level 3

      When you use the "rotation" properties of a layer, it rotates it in a circular way. I want to rotate objects (image layers set as "3D") around an elliptical path. Basically this is for showing the solar system (with 2D images representing Earth, Mars, and all the other planets in the solar system) rotating with an elliptical path around the sun (with the planet images always facing the camera). Is there an easy/good way to do this?

        • 1. Re: A way to rotate a 3D layer about an elliptical path?
          Gutter-Fish Level 4

          Try using the position property instead.   Create a shape layer ellipse then copy paste the path onto the position of the 2d layer.

          Then apply a loop in and loop out expression.

          1 person found this helpful
          • 2. Re: A way to rotate a 3D layer about an elliptical path?
            A.I.1 Level 3

            Thanks. I'll see if I can do that. I've never used the loop expressions before. I'm checking out the various sites/tutorials etc. But it seems like your answer is the correct one (it would probably be easier if After Effects had a more direct way to rotate with elliptical paths - more like just clicking on the rotate and specifying the number of rotations - or alternatively the rotation speed). Thanks for your help.

            • 3. Re: A way to rotate a 3D layer about an elliptical path?
              A.I.1 Level 3

              I'm testing the copying of the ellipse part onto the position for now. For now I'm doing it on an asteroid (to create an asteroid belt) - a 3D image layer.

               

              Basically I've created a shape layer with an ellipse (not filled) - representing the orbit of the asteroid. I click on "Ellipse Path 1" and click "Edit->Copy" I then go to the asteroid image layer and click on its "position" property (under transform) and click "Paste" and nothing seems to happen to the asteroid image layer (no keyframes get created or anything). I've tried doing it with the shape layer set as a 2D and as a 3D layer. Am I doing something wrong?

              • 4. Re: A way to rotate a 3D layer about an elliptical path?
                Gutter-Fish Level 4

                To copy paste you use ctrl+c, ctrl+v  on the properties themselves.  I made quick video.

                 

                Take this advice with a grain of salt & know there might be a more efficient way to achieve than this.

                Also The "loop in" expression I applied didn't work & I am not certain why. (could be 'cause I didn't use a semicolon at the end of the line)

                It didn't matter because for the "loop out" to work without a gap the first keyframe had to be at the start.

                You should probably move the in points of the layers with the loop expressions to where you need them to start in the composition otherwise those expression will be evaluating the whole time even though they can't be seen.

                 

                Hope it all makes sense.

                1 person found this helpful