Forum Replies Created

Page 2 of 2
  • Gerben Greuliker

    October 14, 2022 at 8:07 am in reply to: Adjustable countdown for Essential Graphics

    I was not able to check it earlier but it works like a charm!
    Thnx for the patience and input.

    Gr G

  • Gerben Greuliker

    October 7, 2022 at 9:20 am in reply to: Adjustable countdown for Essential Graphics

    Haha missed that one 🙂
    Thnx for your time and feedback.

    Sorry to say but now I get another mishap.
    ‘Error at line 1: Couldn’t return result into numeric value’

    I’m using the Numbers effect to generate the value to get my correct format (comma and the two decimals). Has this anything to do with the error?

  • Gerben Greuliker

    October 3, 2022 at 7:28 am in reply to: Adjustable countdown for Essential Graphics

    If you mean the ‘Enable JavaScript Debugger’ checkbox under the ‘Scripting & Expressions’ tab, that one is checked…

  • Gerben Greuliker

    September 30, 2022 at 8:15 am in reply to: Adjustable countdown for Essential Graphics

    Thnx Filip!

    It works great!
    The only problem is that I get an error on the last bit of the script.
    Line 6: ‘new Intl.NumberFormat’. The ‘Intl’ is not recognized as a property or method.
    So the rest of the expression doesn’t work.

    Is there a simple fix?
    thnx in advance

    Gr Gerben

  • Gerben Greuliker

    January 3, 2022 at 12:51 pm in reply to: Getting rotation value between two position values

    Thnx Dan!

    I just happen to find this code on another site.
    It uses position as the source but works the same.

    p1 = thisComp.layer("Start").transform.position;
    p2 = thisComp.layer("End").transform.position;
    v = p2 - p1;
    radiansToDegrees(Math.atan2(v[1], v[0]));
  • Gerben Greuliker

    December 24, 2021 at 1:52 pm in reply to: Getting rotation value between two position values

    Hi Dan,

     

    I’m working on an animation where two wheels of a car move separately on a bumpy road and the chassis has to rotate according the value of these two wheels. Looking at this expression I think this will do the trick. But when I apply the expression I get a syntax error on the ‘delta’. Seeing this expression is from the year 2010 I assume the error has to do with it being written in the ‘old’ action scripting format. Is there a simple update to fix this?

    thnx in advance!

     

    Gerben Greuliker

Page 2 of 2

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