Forum Replies Created

  • Hey.
    I’ve been neglecting this project because I didn’t have any time, but now I’m back on it 🙂

    You’re right, the existing variables are more than enough for what I need, so I’m pretty much gonna keep the code as you wrote it, it works great. I only lowered the clamp values so the children don’t reach a horizontal state ~45-60 degrees is plenty.

    Thanks again for your help, I learned a lot and I ended up using bits and pieces for other things too, like a few positions and scales.

  • I have come across the original inertia bounce script myself, but I didn’t know how to access the parent’s keyframe data, didn’t even know if it’s possible. The variables are pretty self-explanatory, I got that part.

    I still haven’t had enough time to work on this properly, but I added a little something to the code to delay the reaction of some of the parts by a few frames (20 in my example), to sort of simulate their weight. I don’t know however if this is the right way to go about it, or maybe there is a better way?

    v = ppos.velocityAtTime((ppos.key(n).time - thisComp.frameDuration*20) - thisComp.frameDuration/10)*-1;

  • WOW man, this works great. I’m just getting into expressions and I’m constantly amazed of what they can achieve. Also, there’s some serious math going on in there that I would’ve never figured out by myself.

    But I did manage to add some randomness so all dangly things don’t move at once and in the same measure, and that makes it look even better and really brings the character to life in no time (which is a rasta character with hanging jewelry and dreadlocks btw) and cuts down a LOT on secondary animation time, which is now pretty much automatic, thanks to you 😀

    Later I’ll hook up the randomness and other variables to sliders and that’ll make my work even easier throughout the process.

    Thank you for your tremendous help!

  • Gergely Szilard

    February 25, 2011 at 11:25 am in reply to: Random frame time remap

    Hi
    This really helped me out too
    One more question: what would I need to do if a wanted to hold one image for 2 or 3 frames?
    I tried a few things but I’m not too good at this…
    Thank you

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