Tutorial 188: Isopush

Joe Clay | Aug 9, 2019

You know what's really not fun to do inside of After Effects? Moving things at angles that aren't multiples of 90° is a pain. There's not really any guides for isometric projection. It's not even easy to draw in Illustrator. Isometric art has been popular for quite a long time—ever heard of M.C. Escher or seen architectural drawings—so it's kind of annoying that it's difficult to work with isometric art inside of AE.

Well, I can help to make it a tiny bit easier to work with. Without sacrificing our ability to move layers anywhere on screen, we're going to build three sliders that will let us move our layers in angles corresponding to our isometric projection. This tutorial builds upon what we built in Tutorial 87: Angular Controls. If you need more explanation on the math behind this, check that one out.

This one is pretty simple, but it will save you a ton of time. I had to build some boards with a lot of isometric art in it last week, and it probably saved me hours already. And that's why I built this! I hope it saves you time too.

Expression Code

If you have Pseudo Effect Maker and you want to build your own preset you'll need to modify this code. Otherwise, you just make three sliders, name them X, Y, and Z, and add this expression to position. Note: if you're a Journeyman patron or above, a preset for this will be in your download this month.

//ISOPUSH
function getPoint(angle, magnitude) {
    return [Math.cos(degreesToRadians(angle)) * magnitude, Math.sin(degreesToRadians(angle)) * magnitude];
}

x = effect("X")("Slider"); //30
y = effect("Y")("Slider"); //0
z = effect("Z")("Slider");//-30

x = getPoint(30, x);
y = getPoint(90, y);
z = getPoint(-30, z);

value + x + y + z;

Grab the Project Files

The best way to get our project files is to become a patron on Patreon. For $5 a month, you get access to all of the tutorial project files we've made available as well as other monthly projects, rigs, R&D, elements, early product previews, and BTS content not available anywhere else! You can also purchase just this project file on our Gumroad Store if you would rather do that.

Get access to all of our project files on Patreon or Get this single project file on Gumroad