Created
March 6, 2019 05:09
-
-
Save animoplex/a40e82c808ee785312b757b40705bcbd to your computer and use it in GitHub Desktop.
Linear Counterbalance
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Linear Counterbalance | |
s = thisComp.layer("Control").effect("Slider Control")("Slider"); | |
a = transform.position; | |
b = thisComp.layer("Null").toWorld([0,0,0]); | |
linear(s, 0, 100, a, b) | |
// Adjust a Slider Control (from 0 to 100) to balance between two values (a and b) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment