Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Mouse Movment creates animation

  • Mouse Movment creates animation

    Posted by Anthony Dupsta on June 18, 2007 at 11:29 pm

    Silly question here.
    I don’t know what to search under so I am asking directly sorry.

    I want to use the movement of my mouse to create animation.

    In Studio Max I can move my mouse around and that movement will translate into spacial keyframes I can apply to an object or null..
    Will AE do this?
    Let me know how if possible.

    Mike Clasby replied 18 years, 10 months ago 3 Members · 3 Replies
  • 3 Replies
  • Darby Edelen

    June 18, 2007 at 11:49 pm

    Motion Sketch allows you to do this. Window > Motion Sketch. Hit start capture, then drag the layer you want to capture the motion to around in your comp window and it will create keyframes in real-time (you can change this with the Capture Speed setting, higher amounts will result in faster animation).

    However, you can’t do this to 3D layers.

    Darby Edelen
    DVD Menu Artist
    Left Coast Digital
    Aptos, CA

  • Anthony Dupsta

    June 19, 2007 at 12:18 am

    Hey Thanks. I will mess around with it.
    You say it will not work with 3D layers. So no way I could get this data to work with an AE Camera?

  • Mike Clasby

    June 19, 2007 at 12:55 am

    How do you want to apply the Motion Sketch Data to a camera, seems like an expression to convert Motion Sketch’s x to the camera’s z is possible, do you want to do something like that?

    It would be something like this (Motion Skectch was used on Black Solid 1):

    temp = thisComp.layer(“Black Solid 1”).position;
    [value[0], temp[1],temp[0]]

    This leaves the camera’s x at whatever you set it (value[0]) and makes the camera’s z be the same as the layer that got motion sketch applied (I used a Black Solid 1, it’s x. So the Camera Z now equals the motion sketch x.

    If you want to make the z flight 10 times longer, add a *10 (times 10) to that z temp, the last one in the last line, making this expression:

    temp = thisComp.layer(“Black Solid 1”).position;
    [value[0], temp[1],temp[0]*10]

    temp[1] is the Motion Sketch’s Y value and is what the camera’s Y will be in the expression.

    Or… You could use Motion Sketch on a really large layer to get the flight you want.

    temp [0] is the motion sketch x values, temp[1] is the Motion Sketch Y values. Depending where you put them in the array (I think it’s called), will be the x ,y or z of the camera position.

    Whatta ya wanna do?

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