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

Triangle shaped particle emitter

Discussion in 'General Graphics' started by darkwinds95, Oct 6, 2019.

  1. darkwinds95

    darkwinds95

    Joined:
    Dec 3, 2018
    Posts:
    14
    Hi,

    I wanted to know it there was a way to make irregular triangle shaped emitter where the 3 corners of the triangle are set by the player before the effect is created.
     
  2. richardkettlewell

    richardkettlewell

    Unity Technologies

    Joined:
    Sep 9, 2015
    Posts:
    2,281
    It’s possible by creating a mesh with the 3 points and using that in the particle system.
     
    karl_jones likes this.
  3. Torbach78

    Torbach78

    Joined:
    Aug 10, 2013
    Posts:
    296
    interesting; dynamically construct an emitter shape from users input.
    - should be possible

    a procedural geometry constructor off user input and sent to the emitter>mesh input, perhaps vfx graph can do this easily?
     
  4. darkwinds95

    darkwinds95

    Joined:
    Dec 3, 2018
    Posts:
    14
    If I understand, the key is to create the mesh just before the attack is instanciated.
     
  5. Torbach78

    Torbach78

    Joined:
    Aug 10, 2013
    Posts:
    296
  6. darkwinds95

    darkwinds95

    Joined:
    Dec 3, 2018
    Posts:
    14
    I'll try this during the week
     
  7. darkwinds95

    darkwinds95

    Joined:
    Dec 3, 2018
    Posts:
    14