Search Unity

Question How do I create a particle mesh strip?

Discussion in 'Visual Effect Graph' started by AndrewStyan, Mar 21, 2021.

  1. AndrewStyan

    AndrewStyan

    Joined:
    Apr 6, 2020
    Posts:
    14
    Hi,
    I'm a relative beginner and trying to add national borders in the appearance of a fence to a 3D globe and have so far got the attached result using VFX Particle Line. I really want the output to be a partially transparent wall rather than lines and assume I need to be using either a Particle strip or Particle mesh instead of the Particle line, but cannot find any guidance on how to do this. [Thanks to Keijiro Takahashi for getting this far!]

    The current method (attached) uses a 2D texture containing the border vertex x,y, z coordinates and sets the end points of each particle line using Set Position from Map and Set Target Position from Map for each segment of the border. How do I translate these positions into the vertices of a particle strip/mesh? Or a triangle with one vertex at 0,0,0?

    Thanks in advance,
    Andrew

    Unity 2019.4.13, URP, Mac OSX 10.14

    Screen Shot 2021-03-21 at 5.11.00 pm.png

    Screen Shot 2021-03-21 at 5.36.43 pm.png