← findnix.eu
🎬 makertube.net makertube.net

Friction Quick Tip #8 - Property linking with expressions

⏱ 1:00 🌐 makertube.net

In friction, you can use expression to copy property of another layer and make a "single property child". This is an equivalent of After Effect properties linking : https://youtu.be/4Nv3FXcXiBI - Set expression for child's property (here we are using translation for the example) - In Bindings section, get the parent property as a variable NamedVariable = ParentName.transform.translation.x - Return this variable in the Calculate section to use it as the new value return NamedVariable - Repeat that with both axis if needed - Child's property is now the same as the parent's, but it cannot be changed by the user anymore - To prevent that, you can use $value to get the user-defined value of the property, and add it to the parent's property in the Calculate section NamedVariable = ParentName.transform.translation.x CurrentValue = $value return NamedVariable + CurrentValue - Do it for both axis if needed, you should be able to control the child's property while it is stil

β†—https://makertube.net/w/sYkKusKcvdeWbw4DSidxcp
aftereffect friction2D motiongraphic opensource tutorial
Indexiert von findnix.eu Β· Eigene Seite einreichen