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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Smoke spreading under ceiling

Discussion in 'General Graphics' started by Kalidor, Sep 13, 2017.

  1. Kalidor

    Kalidor

    Joined:
    Sep 13, 2017
    Posts:
    14
    Hi!

    Is it possible, with a particle system, to spread smoke under the ceiling.
    The particles should change the direction (maybe random) on collision, so that the particles move along the ceiling.

    Thanks!
     
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,022
    Hi,

    particle system has collision module, set it to Type world (to collider with world objects),
    there is dampen and bounce settings too.
    upload_2017-9-13_22-30-0.png
     
  3. Kalidor

    Kalidor

    Joined:
    Sep 13, 2017
    Posts:
    14
    Maybe i'm wrong, but i can't see any solution for my problem by changing these values.
    The particles should not bounce. A particle should hold it's y-position on collision and the movement must take place on the x- and z-axis.
     
    Last edited: Sep 13, 2017
  4. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,022
    if bounce is 0, and dampen is 0,
    particles.gif
     
  5. Kalidor

    Kalidor

    Joined:
    Sep 13, 2017
    Posts:
    14
    The Problem is, that the particles move only to ony direction.
     
  6. ifurkend

    ifurkend

    Joined:
    Sep 4, 2012
    Posts:
    350
    You can enable Noise or Force over lifetime (randomize) modules so the particles are moving in different directions.
     
    richardkettlewell likes this.
  7. Kalidor

    Kalidor

    Joined:
    Sep 13, 2017
    Posts:
    14
    Thanks!

    Changing the values of "Velocity Over Lifetime" and "Random Between Two Constants" solved the problem,