-
velocityAtTime for variables
Hi Community
For building up some expression rigs I need the velocityAtTime result for variables.
For example
L =thisComp.layer(“layer_name”)
var = L.toComp (L.anchorPoint);
gives the absolute (Comp)Position of an layer. How do I get the Velocity Value for “var”?The only walk-around I could find out is to set up an extra Null-object, put that above expression on the position of that Null and link to that via:
thisComp.layer(“Null 1”).transform.position.velocityAtTime(time)but its nasty to have an extra Null object just for that if you are planning to use this in complex rigs.
Is there maybe another solution for getting the velocity of the absolute Position, or also for Rotation and Scale?Thanks