Skip to content

Instantly share code, notes, and snippets.

@Arslan-TR
Last active September 15, 2021 08:55
Show Gist options
  • Save Arslan-TR/644e814f9c3d8a2b46f97fc8981b6ca2 to your computer and use it in GitHub Desktop.
Save Arslan-TR/644e814f9c3d8a2b46f97fc8981b6ca2 to your computer and use it in GitHub Desktop.
AE, Throw (move at a constant speed) expression.
//AE, Throw (move at a constant speed) expression script.
//
veloc = -10; //horizontal velocity (pixels per second)
x = position[0] + (time - inPoint) *veloc;
y = position[1];
[x,y];
//
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment