Hi Dan,
Just found this thread. This is something i wanted to do long time ago. havent found the trick. 😛
I have situation here:
I found this code: that calculate degrees from position.velocity. I use linear to animate position. how can i merge this code to make animated current position to angle control? something like direction.
Thanks
Mad
v = position - position.valueAtTime(time-thisComp.frameDuration);
radiansToDegrees(Math.atan2(v[1],v[0]))