OnParticleCollision not getting triggered
Hi,
no matter what I try, the method OnParticleCollision is not being called. There must be something wrong with my setup and I am not able to figure out what. Please help.
Object A EMITS particles, Object B should trigger the event when particles are shot at it:
Object A setup
Object B Setup
Script ParticleReceiver (Attached to Object B)
public class ParticleReceiver : MonoBehaviour {
void OnParticleCollision(GameObject other)
{
Debug.Log(other.name);
}
Thanks alot for any help!
Answer by javier-mazzurco · Aug 25, 2016 at 01:26 AM
I have the same problem when I play the game build in WEBGL. Inside the editor it works fine. My B object has rigidbody.
Answer by Xhynk · Dec 01, 2020 at 04:31 AM
I was having a similar issue. Solved by making sure that "Send Collision Messages" was turned on
Your answer
Follow this Question
Related Questions
RayCast on particle system 0 Answers
Particle Escapes Collider 2 Answers
ParticleCollision Exit Tracking? 0 Answers
How do I make my particle system detect/mark a floor collision? 0 Answers
Particle Collision Bug. 1 Answer