Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions IK update (keeping the feet level)

  • IK update (keeping the feet level)

  • Dan Ebberts

    September 26, 2007 at 1:45 am

    Earlier this month there was a question about how to keep the feet level when using the revised IK expressions. I’ve been scratching my head for weeks over this. It seems like it should be really simple to just calculate the foot’s world orientation and rotate that amount in the opposite direction. But in trying to make that work, I’ve seen some unbelievably bizzare results from the expressions. I’ve come to the conclusion that when you create a complex chain of expressions like these, you have to watch out not to create an expression “loop” where, essentially, two expressions reference each other.

    So, (if anybody’s still interested) I think I finally cracked it. What seems to work is to apply a Transform effect to the foot. For the Transform’s anchor point and position you need to apply this simple expression:


    Then apply this expression to the Transform’s rotation property:

    v = toWorldVec([1,0,0]);


  • Mike Clasby

    September 26, 2007 at 5:24 am

    Sounds exciting, will test it tomorrow.

  • John Hammond

    February 9, 2009 at 11:51 am

    I’ve just tested this out in AE,
    Working great for me, I can see many cases where this will be useful.

    Could it be modded to make the ‘foot’ point at a target point, rather than ‘downwards’ ? for example a robot arm with a lazer on the end that’s ‘locked on’ to a moving point target..

    Just a thought – expressions are still new to me.

    Thanks for the knowledge.

Viewing 1 - 3 of 3 posts

Log in to reply.

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