- Home /
How to detect particle collision (ontriggerstay2D )without actually colliding !
Hi guys ! I'd like to affect my particles as long as they are "inside" a certain collider, right now if I enable 2D collisions for particle the particles just won't get through the collider but just really collide and stay "on it"...
Thank you all :)
Answer by tormentoarmagedoom · Mar 15, 2018 at 09:15 AM
I don't really understand what are you saying.... One thing is to collide, the other thing is activate a trigger collider, which is not a phisical collision.
Thats why there is "OnTriggerEnter" and "OnCollisionEnter"
Bye!
Yep but my problem is how to actually use the usual 2D triggers collision with a particle from ParticleSystem !
I found out that ParticleSystem can use collisions in their settings but then the collisions are not triggers :/
Answer by meat5000 · Mar 15, 2018 at 10:29 AM
https://docs.unity3d.com/Manual/PartSysTriggersModule.html
~
https://docs.unity3d.com/ScriptReference/ParticleSystem-trigger.html
~
Perhaps this'd be useful to you.