After Effects Expressions Nerd Tip 2: toComp and fromComp (1 minute tutorial)

Опубликовано: 07 Май 2018
на канале: mamoworld.com
9,616
79

The toComp and fromComp functions of After Effects expressions can be confusing - but they don’t have to be! Watch this 1 minute tutorial to understand how they really work and how to use them. An an example, we link the center of a circle effect on one layer to the center of a circle on a second layer such that they always stay in place no matter how you move, scale or parent any of the two layers.

Expression used in the Tutorial

var posInOrangeLayerSpace = thisComp.layer("orange solid").effect("Circle")("Center");
var posInCompSpace = thisComp.layer("orange solid").toComp(posInOrangeLayerSpace);
var posInGreenLayerSpace = thisLayer.fromComp(posInCompSpace);
posInGreenLayerSpace

To watch all our tutorials before they are published please subscribe to our newsletter at
https://mamoworld.com/subscribe


Смотрите видео After Effects Expressions Nerd Tip 2: toComp and fromComp (1 minute tutorial) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь mamoworld.com 07 Май 2018, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 9,616 раз и оно понравилось 79 людям.