A
A
Alexander Sinitsyn2021-03-14 18:01:54
Unity
Alexander Sinitsyn, 2021-03-14 18:01:54

What should be done to make the trigger work on particles?

There are targets with "Is Trigger" and a flame thrower "Particle System", what should be set in order for the targets to trigger OnTriggerEnter2D ?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Emil, 2021-03-14
@a_u_sinitsin

Create a child object inside the particle, which is a collider, and give it an animation that simulates the movement of particles. On contact with it and process events. For performance, the best option, and the player will not notice anything.

G
GavriKos, 2021-03-14
@GavriKos

Add particle colliders. It seems that this is in the system particle settings:
https://docs.unity3d.com/Manual/PartSysCollisionMo...
Well, you also need to understand that this is very fat in terms of performance! I would generate which thread is a fake cone ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question