-
distance
hello, i am trying to get a grip on expressions and i have a couple questions…
i have a little wheel that is traveling from the top left of the screen to the bottom left doing a little zig zag…the animation is in 2D space and the wheel does not travel on a path, the position is key framed 4 times…
i would llike the wheel to rotate according to the actual distance traveled…
i have velocity… posotion.speed
my problems are:
i do not know how to find the distance…i though velocity/time.
adding up the velocity dividing that by frames and that by seconds…but i feel i am horribly wrong…i am sure there is an easier way…right?
second question…
is it possible to accumulate numbers…that is to say counting the value from eachframe and add them together?thanks for the help…