Forum Replies Created

  • Evan Hancock

    November 28, 2013 at 5:45 am in reply to: Linking Fill Color to Rotation

    Hi there,

    I know this thread is quite old but had a question in regards to the following expression.

    What do I add or replace to the expression to fade to from color 1 to color 2?

    color1 = [255,255,255,255]; // white + alpha
    color2 = [87,110,163,255]; // shade of blue + alpha
    r = transform.rotation;
    if (r > 90) color2/255 else color1/255

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