Jump to content
Sign in to follow this  
jadacreata

Ae Expression - 360 rotation to percentage

Recommended Posts

Hey all,

 

Couldn't find any forum about this.

 

I want to parent a line to rotate with a radial wipe transition. Would be best to attached both to a slider. Any ideas?

 

or

 

Any idea what the expression is to convert 360 rotation to 100%?

 

 

thank you,

J

Share this post


Link to post
Share on other sites

Some Algebra will do the trick. So it's simple cross-multiply and divide like this:

 

R P

---- = ----

360 100

 

R is your rotation value and P is your percentage value. So when cross multiplied gives us:

 

100*R = 360*P

 

then divide to isolate your desired variable, in this case R

 

R = (360*P)/100

 

and there's your expression.

Share this post


Link to post
Share on other sites

That is your full expression. Just replace the P variable with your percentage property from your transition effect. If you just drop this directly on your rotation property you can ditch the "R=" part of the equation or just put an "R" as the last line of your expression. Either way should work.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...