Hey, I’ve been exploring the new particle trigger module, and I’ve noticed that there appears to be no way to get the specific collision volume related to a trigger event.
The doc page for OnParticleTrigger lists a GameObject parameter in its heading, but the actual callback appears to have no such parameter. Is there any way to access this information (e.g. which collision volume a particle entered)?
Hi, that is a error in the documentation. I’ll make sure it gets corrected.
We would have to provide the information per-particle, in case different particles entered different colliders, but currently we don’t provide this information.
Ah, that’s what I thought. I think such information could be very useful in certain cases. Or even something less descriptive like enter and exit callbacks that receive the particle system as a parameter–called on the collision volume objects. In general, it would be useful to know which trigger has been triggered–and by which particle system. Nevertheless, thanks for the info!