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

Particle Collision and Sub Emitters

Discussion in 'General Graphics' started by KqGMRPFkAeESzF8, Sep 5, 2021.

  1. KqGMRPFkAeESzF8

    KqGMRPFkAeESzF8

    Joined:
    Nov 20, 2018
    Posts:
    53
    How do you make particles emit smaller particles on collision. As close as I can get is that only one of the particles from the burst emits a sub emmitter on collision, but the other particles don't. How do you get them all to do sub emmiters on collision. Also, is it possible to create a splash animation that plays when the particle collides with the ground? Edit: Also how do you make it so that if the sub emitter collides with the ground it gets destroyed, because currently they kind of slide across the ground before disappearing.
     
  2. richardkettlewell

    richardkettlewell

    Unity Technologies

    Joined:
    Sep 9, 2015
    Posts:
    2,281
    Lifetime loss on collision in the collision module answers your question about destroying.

    OnParticleCollision MonoBehaviour callback answers the one about playing a splash animation. (Google for examples)

    Not sure about your first question - they should all do a burst unless your max particle limit is smaller than the number of particles the sub-emitter is trying to spawn in total for all parent collisions.