Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions How would I do this

  • How would I do this

    Posted by Josh Holdens on April 11, 2011 at 11:45 pm

    Joined: Sun Apr 10, 2011 1:57 pm
    Posts: 7
    I’m working with the ease expression and I’m trying to find out how(if possible at all) to map position to rotation. I successfully achieved mapping it one way. Adding the ease expression to position and controlling rotation but I want to use the inverse and add the ease to rotation. I’m missing the ball I”m sure; I noticed that when you pickWhip in this situation AE creates temp parameters… I think that’s the problem but I don’t know how to translate that into the ease… here is the expression i tried to add to rotation:

    ease(transform.position,[value[0],value[1]],[value[0],value[1]],0,360)

    I get an error saying that there isn’t a class called zero….
    Not sure what that means

    ease(transform.position,[value[0],value[1]],[value[0],value[1]],0,360)

    Josh Holdens replied 15 years, 1 month ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    April 12, 2011 at 1:04 am

    The output of ease() can be an array (like position) but the input can’t — it needs to be one-dimensional. Depending on what you’re doing, you might be able to use the position to calculate a one-dimensional distance from some point (maybe the first position point) and use ease() to translate that to rotation. Hard to be more specific without more details…

    Dan

  • Josh Holdens

    April 12, 2011 at 3:26 am

    I succeeded in applying the ease to position then I added an ease(just for kicks) to rotation so that as ease expression ran the object moves and rotates.

    The goal was to invert this animation and have the expression swapped 🙂 I failed though

    https://www.flickr.com/photos/38101350@N03/5612230788/in/photostream#/photos/38101350@N03/5612230788/in/photostream/lightbox/

    easeExp

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