Search Unity

Get colliding particle data?

Discussion in 'Scripting' started by ADNCG, Jul 1, 2020.

  1. ADNCG

    ADNCG

    Joined:
    Jun 9, 2014
    Posts:
    994
    More precisely, I'm trying to get the color of the colliding particle from the object it's colliding with. I can't just grab it from the particle system since the startColor's randomized.

    All I found in the API is CollisionEvents which seems to expose things like normals and the collision intersection but not much else. Am I missing anything?

    I'm worried I'll have to split my particle system into multiple ones.


    Edit : Ended up going with multiple systems using one color per.
     
    Last edited: Jul 1, 2020