Search Unity

Feedback To get particle from ParticleCollisionEvent

Discussion in 'Scripting' started by DepreCats, Oct 30, 2019.

  1. DepreCats

    DepreCats

    Joined:
    Jun 3, 2016
    Posts:
    39
    I want to get the particle of a particle collision because I want my particles to apply less damage when they are about to die.

    The ParticleCollisionEvent should simply give the particle (and preferably also index) that it represents. It already knows internally what particle a particle collision is, because Min/MaxKillSpeed is able to know (and kill the particle), and it knows the position, velocity, size, etc. Just give it to us.
     
    hurleybird and chazgw like this.
  2. hurleybird

    hurleybird

    Joined:
    Mar 4, 2013
    Posts:
    258
    Absolutely. Frustrating limitation.