In this After Effects tutorial, we will create 3D Carousel UI Animation without using plugins. We will use only expressions to create a 3d rig and then use it to animate 3D UI in After Effects.
Expressions : ------ Position Expression ------
radius = Math.round(thisComp.layer("controller").effect("radius")("Slider"));
layerCount = Math.round(thisComp.layer("controller").effect("count")("Slider"));
indexOffset = index - 1;
roat = thisComp.layer("controller").effect("rotation")("Slider");
angle = 360 / layerCount;
theta = degreesToRadians(indexOffset * angle + roat);
x = Math.sin(theta) * radius;
z = Math.cos(theta) * radius;
[value[0] + x, value[1], value[2] + z]
------ Rotation Expression ------
camPos = thisComp.activeCamera.toWorld([0,0,0]);
myPos = toWorld(anchorPoint);
delta = camPos - myPos;
radiansToDegrees(Math.atan2(-delta[0], -delta[2]))
If you enjoy content on my channel, feel free to Subscribe
Download
0 formats
No download links available.
Professional 3D Carousel UI Animation in After Effects - After Effects Tutorial | No Plugins | NatokHD