Skip to main content
January 1, 2021
Question

How to make a shape different colour on each side?

  • January 1, 2021
  • 2 replies
  • 1627 views

Hi all,

 

I am trying to create an animation where squares flip over and reveal a different colour on the other side but have not found a way to make it work. I tried making 2 separate squares, 1 under the other, with a pick whip attachment so they flip together, but the lower square remains on the bottom (obviously).

 

I would greatly appreciate any ideas on how to achieve this effect. 

 

Dave

This topic has been closed for replies.

2 replies

Community Expert
January 2, 2021

Are you trying to create a 3D cube with different colors on each face? If so you'll need six squares on six 3D layers with their anchor point's offset by half the width of the squares and each copy rotated on the X,  Y, or Z-axis to form a cube. Then you add a 3D null to the center of the comp, parent all 6 sides of the cube to the null, lock the 6 square layers, then animate the 3D null to move the cube and flip it over on another side.

 

If you don't want a cube but want a simple square layer to change colors every time it rotates then all you have to do is add the Fill effect to a square layer, animate rotation then set a keyframe for Fill Color, set it to be a hold keyframe, then edit the color every time the square rotates 90º. 

Ro Hackett
Inspiring
January 1, 2021

Well this is very interesting! 

What i have just done is

- create a square

- duplicate the square with different colour

- set both layers to 3d

- go into top view

- then move the top square up one pixel ( on the z values .... )

- select both layers and pre comp

- now set pre-comp layer to 3d and turn on the collapse transformayions (star switch?

- now select the orbital camera tool and have a look

 

 

Im not saying thats the correct way but thats what i did ... 🤔 🤔