ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Linking cc sphere rotation to null object position.

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Jacob BrumfieldLinking cc sphere rotation to null object position.
by on Jun 18, 2012 at 5:56:51 pm

I am creating eyes for a character using cc sphere - I want to create a way to link the eyes to a null object. Let me explain what I am looking for as an end result. I have a character with large eyes and these eyes follow an object bouncing around the screen. I want to automate this process as I need to run this animation in a 15 to 20 min loop. I was planing on using a wiggle to move the object randomly around the screen, now I just need to figure out a way to get the eyes to follow.

Thanks in advance.

johnyjb


Return to posts index

carlos deeRe: Linking cc sphere rotation to null object position.
by on Jun 18, 2012 at 6:02:18 pm

in CS6 theres a new parent option jus hold control while you drag the pick whip, in this case parent the eyes to the null object and hold control, you will see on the timeline the parenting details explained, its going to be in the area where the expressions go, theres 2 different types of parenting now, hopefully this helps, if yur not using CS6 get the trial =)


Return to posts index

Roland R. KahlenbergRe: Linking cc sphere rotation to null object position.
by on Jun 18, 2012 at 10:31:40 pm

You can use the lookAT Expression method.

You'll need to apply the script to a 3D layer's (the eye(s)) Orientation property. Here's the script -
// Start Script
TargetLayerProperty=thisComp.layer("Pale Blue Solid 3").transform.position;
lookAt(transform.position,TargetLayerProperty)
//End Script

There are possibly three other things you'll need to do -
1) offset each eye's Anchor Point to make the eye movement more obvious
2) set y-rotation to either +- 90 to ensure that it's not on its flat side
3) set z-rotation to +- 90 to ensure that the layer is pointed at the right direction.

HTH
RoRK

Intensive AE & Mocha Training in Singapore and Malaysia
Adobe ACE/ACI (version 7) & Imagineer Systems Inc Approved Mocha Trainer


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]