ParticleSystem.TriggerModule.colliderQueryMode

Switch to Manual
public ParticleSystemColliderQueryMode colliderQueryMode;

Description

Determines whether collider information is available when calling [[ParticleSystem::GetTriggerParticles]].

Use this option if you need to know which Colliders particles interacted with, inside the OnParticleTrigger callback.

Using it has an impact on performance, therefore it is disabled by default.


Did you find this page useful? Please give it a rating: