Created
November 18, 2019 06:27
-
-
Save Roumenov/30a398fd877de61a4cef872d122d1beb to your computer and use it in GitHub Desktop.
blocking out thoughts for a useful animation curve utility
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
start_time = 0 | |
end_time = 10 | |
keyed_channels = get_keyed_channels() | |
for curve in keyed_channels: | |
#what is the best method to select the target keys? | |
#select keys in range(start_time,end_time) | |
first_key_value = 3 | |
anchor_key_value = 1.5 | |
offset_value = anchor_key_value - first_key_value | |
keyframe -animation keys -relative -valueChange (0 + offset_value) ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment