Search Unity

Collision detection of a managed particle array

Discussion in 'Physics' started by Hyphasol, Dec 15, 2017.

  1. Hyphasol

    Hyphasol

    Joined:
    Jun 13, 2014
    Posts:
    7
    I am managing an array of particles and assigning the position of all particles every frame with ParticleSystem.SetParticles to create a spiral shape of moving particles.
    I am trying to detect Collision events with OnParticleCollision.

    The Particle system has the Collision module enabled with the World, 3D and Send Collision Messages options enabled.
    The collider object has the Rigidbody and Collider(isTrigger disabled) components.
    A script logging OnParticleCollision entries is attached to both the collider object and the particle system object.

    I am able to detect Collision Events with a default particle system with motion determined by an Emit module, but my managed array with movement determined by ParticleSystem.SetParticles does not activate OnParticleCollision. Is this a limitation of the Shuriken particle system?