Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Fire Animation - Moving Light

Discussion in 'Animation' started by Otactu, Jun 1, 2014.

  1. Otactu

    Otactu

    Joined:
    May 22, 2014
    Posts:
    24
    Hello World !

    I'm working on a night scene, and I created a campfire.

    So all is done and i was just wondering how can i make moving light. Cause Particules don't have light and point light don't (can't ? ) move in a random way.

    How would you do to make this type of light ?

    Thanks ! :)
     
  2. TonyLi

    TonyLi

    Joined:
    Apr 10, 2012
    Posts:
    12,528
    You could add 1-3 lights and randomly turn them on and off to produce a flickering light effect.
     
  3. Otactu

    Otactu

    Joined:
    May 22, 2014
    Posts:
    24
    Okay, i think that is the only way ^^
     
  4. TonyLi

    TonyLi

    Joined:
    Apr 10, 2012
    Posts:
    12,528
    There's always another way! :) But random flickering lights work well and are easy to implement. You could also create a looping animation that moves and/or flickers a light, but that just seems complicated, and the other way looks good as it is.
     
  5. Otactu

    Otactu

    Joined:
    May 22, 2014
    Posts:
    24
    I was just asking if there was a "better" way :)

    So I will try a lot of different way by myself ;)
     
  6. TonyLi

    TonyLi

    Joined:
    Apr 10, 2012
    Posts:
    12,528
  7. Otactu

    Otactu

    Joined:
    May 22, 2014
    Posts:
    24
    Great stuff ! I test it and it's not bad. It give me an idea on what I have to do :)