Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Particular and Angle Control

  • Particular and Angle Control

    Posted by Tyler Paul on January 5, 2007 at 1:40 pm

    I’m looking to adjust the X and Y wind directions of particular using an angle control. What’s the best way to go about this?

    Tyler Paul replied 19 years, 4 months ago 12,683 Members · 2 Replies
  • 2 Replies
  • Tyler Paul

    January 5, 2007 at 1:58 pm

    The code I’ll be using looks like this.

    If the angle is set to 90 degrees the X wind speed will be 30.

    t = thisComp.layer(“Adjustment Layer 2”).effect(“Angle”)(“Angle”);

    if(t <= 90){ t_min = 0; t_max = 90; Value1=0; Value2= 30; linear(t,t_min,t_max,Value1,Value2) } else { t_min = 180 t_max = 90 Value1 = 30 Value2= 0 linear(t,t_min,t_max,Value1,Value2)} That only covers half the rotation but I think I know what it'll take to cover the entire rotation.

  • Tyler Paul

    January 5, 2007 at 2:57 pm

    Okay, I got the full rotation of the X wind down. Converting the code to the Y wind resulted in multiple crashes. Even when I get that working I’m still limited to just one rotation, 0-360.

    This is over my head. Is there a better way to avoid these obstacles?

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