Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Tracked Rotation – Repetition Error

  • Tracked Rotation – Repetition Error

    Posted by Andrew Spirk on August 21, 2009 at 1:02 am

    So I’m in a little bit of a pickle.

    I have footage of a tire that is spinning at nearly 33rpm, which I then tracked with mocha on one revolution (after that mocha seemed to freak out a bit and not keep a solid track). I took that tracking data, broke it down and applied it in after effects. As I need more than one rotation is simply put a test object on the spot near the rim of the tire, copy and pasted the rotation keyframes onto a null, and parented the object to the null.

    I did that roughly a dozen times to fill the comp. Simple enough.

    I went merrily on my way, introducing my elements into the comp, previewing, etc. Everything was going great! Then I applied motion blur to a few of the objects that are spinning with the tire and… uh oh. I screwed up a very basic thing. I noticed streaks in the motion every rotation, when I looked at the frames I noticed they were motion blurs from the objects, which made complete revolutions around the tire.

    Here’s what is happening:

    -0Object 1 is parented to Null 1.
    -Null 1 has values for rotation that start at -170 and complete at 172.
    -When I copy and pasted the keyframes, object 1 looked fine, going from 172 to -170 and looking like it was tracking fine.

    What is actually happening is Object 1 is going completely around in a full revolution to get back to the starting position of the pasted keyframe position of Null 1.

    Here’s what I’m trying to figure out:

    I have the null that is assigned the rotation value from mocha, which in turn, rotates with the tire. However, I can’t seem to figure out a logical way to copy and paste my keyframes to continue the rotation with the tire (adjusting for minor mismatches) but keep increasing in value rather than resetting the value.

    So basically I want a repeatable rotation that can go up in a linear fashion, but be adjustable in a way that I can compensate for minor drifts in the rotation.

    Is this even possible?

    Am I even making sense?

    Thanks!
    -Andrew

    Andrew Spirk replied 16 years, 9 months ago 2 Members · 2 Replies
  • 2 Replies
  • Filip Vandueren

    August 21, 2009 at 5:59 pm

    Hmm, I really thought I posted my answer ?

    Here it is again:

  • Andrew Spirk

    August 21, 2009 at 6:35 pm

    Weird. I tried to find your original post that had this video before posting my response, but I couldn’t seem to find it.

    Thanks for linking that. I had tried that, but for some reason it wasn’t sticking. I solved it through another method, but this will be helpful in the future.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy