Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE AFTER EFFECTS: HomeForumBasicsExpressionsTutorialsPodcastsMotion GraphicsTrainingCinema 4DFAQ

Re: Swinging hinge effect for per-character 3d?

Cow Forums : Adobe After Effects Expressions
VIEW POSTS   •   ADD A NEW POST   •   SEARCH   •   CHANGE FORUM
Respond to this post   •   Return to posts index   •   Read entire thread


Re: Swinging hinge effect for per-character 3d?
by Filip Vandueren on Jul 13, 2009 at 8:45:49 pm

Sorry, thought I psoetd an answer to this last week,!

Here's how I solved this, though there's probably several ways to do it:


  • Create a text Layer

  • Enable Text->Animate->Per Character 3D

  • Add an animator "Rotation", and set X-rotation to +90° (or-90°, or whatever is the starting rotation)

  • Adjust Text->More Options->Grouping Alignment to 0,-100% (this makes the rotation hinge around the top)

  • You can delete the Y and Z rotation properties

  • Delete the "Range Selector"

  • Now add an "Expression Selector“ to the Text Animator

  • twirl down the Selector->Amount and paste this expression:


    delay=0.06; // amount of seconds between each letter
    swings=1.5; // number of times the text will swing before it's done.

    t=valueAtTime(time-delay*textIndex)[0];

    amt=Math.cos(t*Math.PI*(swings*2)/100)*easeOut(t,0,100,100,0);

  • Now to animate the swinging, set keyframes for the amount between [0,0,0] and [100,0,0]

  • You can tweak the expression, I think it's pretty self-explanatory



You can add further properies to the same animator, try for example:
X Rotation=60°
Opacity= 0
Fill Brightness=-80%
Fill Saturation= 40% (if your text is coloured

To get some fake 3D shading



Respond to this post   •   Return to posts index   •   Read entire thread


Current Message Thread:




Note: If you are a registered user please click here to login before posting.

Your post will not be accepted if your name and email address are not registered in our database. Click here if you do not have an account.

Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message   Entire Thread   None  

Message:



Note: The following are HTML characters and may cause parts of your post to disappear if not used correctly: < > &
To include any portion of the post in your response, highlight the desired text and hit the "Q" key. Read more...



Please post Expressions Code in the box below:


Add your message signature


 


Note: By clicking "Post Direct" button above, you are agreeing to the Creative Cow's Code of Conduct.



FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]