-
Converting 2D expressions to 1D
I’m using a couple expressions that were originally made for the 2D XY position parameter. I’ve used Separate Dimensions so now they are 1D. And I’m stumped how to convert the expressions.
Starting with this:
// Throw (move at a constant speed without keyframes)
veloc = -10; //horizontal velocity (pixels per second)
x = position[0] + (time – inPoint) *veloc;
y = position[1];
[x,y]
my modification for 1D X position isn’t working:
veloc = -10; //horizontal velocity (pixels per second)
value + (time – inPoint) * veloc;