-
Converting y position velocity to scale
Dear forum,
I am looking for an expression to link the Y velocity of an object to another value.
More specific.
I have a Null object called ‘Bug Control’.
On there I have a slider controlling the X Y scale of an object.
How can I use the velocity value of a layer to increase the value of a slider controlling the scale when the velocity goes up, and decreasing when the velocity goes down again.Even More specific.
The idea is that I have a round character that jumps up and down. I want the Y-Scale to down up and the X-scale to go up when the Y-position of the layer increases to create an automatic ‘Squeeze’ look when the character jumps.
This could be very helpful when I have to edit in many jumps, to spare the amount of keyframes.I have tried several expressions that I think were really close but I couldnt get it to work properly.
-When I get this concept I could basically also apply it to offset the position of a null object controlling the Y-position.. That could give a more organic look when the character jumps..
I hope someone could help me out with this one.
To show what I mean I have made a simple setup with a circle representing the character and added the EAP here :8207_expressionexample.aep.zip
Thanks a lot!
WickieMedia.net