2 Replies Latest reply on Apr 24, 2017 11:24 PM by Rick Gerard

    Animation: Pupil movement: What's my coding error?

    scottramsay

      Hi there and thankyou for any assistance you can offer.
      I've never posted here so I hope I provide the necessary details... The coding is for a face(pupil) animation.. the **(information)** are details, not actual code)

       

       

      [327+thisComp.layer("Face controller").effect("Head X Rotation")("ADBE Slider Control-0001"),

      **THIS IS SO THE PUPILS MOVE WITH HEAD ROTATION**

      thisComp.layer("Face controller").effect("Pupils X Rotation")("ADBE Slider Control-0001")   

      **THIS IS SO THE PUPILS CAN BE MOVED SEPERATE TO THE HEAD ROTATION**

      +158+

      thisComp.layer("Face controller").effect("Pupils Y Rotation")("ADBE Slider Control-0001"),    

      **SAME AS ABOVE BUT ON Y AXIS**

      thisComp.layer("Face controller").effect("Head Y Rotation")("ADBE Slider Control-0001")]     

      **SAME AS ABOVE BUT ON Y AXIS**

       

       

      The first two lines of code WORK. But the last two lines do nothing. There is no error message.. only when I move the sliders the pupils remain umoved.