Question, expression: query where the object was two frames ago


#1

Is there a way to query the transform of an object two frames ago, or before the actual frame in expressions?


#2

You can use the ‘time’ flag in the getAttr command to retrieve values at other values in time.

float $time = currentTime -q;
float $trans = getAttr -t ($time - 2) "nurbsSphere1.tx";


#3

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.