Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Particles as cables?

Discussion in '2D' started by oliver_unity892, Oct 16, 2020.

  1. oliver_unity892

    oliver_unity892

    Joined:
    Oct 28, 2019
    Posts:
    91
    Hi all

    I have a town scene that has some power cables running around it. Currently they are sprite based tiles on a map. Stationary and unmoving.

    cables.png

    I would like to make them move about. I have a wind forcefield on the scene as well, which is used to blow particle based rain about the screen. It would be great if the cables moved in time with the wind, just like the rain.

    Is it possible to make the cables using particles, which could be influenced by wind?

    I did think of using animated tiles but clearly that wouldn't support the motion of the wind.

    Any thoughts?

    Olly
     
  2. Vryken

    Vryken

    Joined:
    Jan 23, 2018
    Posts:
    2,106
    A "wavy" shader effect is probably what you're looking for.