13-03-2019, 11:15 PM
Hi,
Use contact callbacks to determine what particles are inside a given trigger collider, instead of looping trough them all:
http://obi.virtualmethodstudio.com/tutor...sions.html
Note that the amount of used particles in the solver stays the same regardless of how many active particles there are in the emitter. This is because the emitter pool is allocated all at once.
Use contact callbacks to determine what particles are inside a given trigger collider, instead of looping trough them all:
http://obi.virtualmethodstudio.com/tutor...sions.html
Note that the amount of used particles in the solver stays the same regardless of how many active particles there are in the emitter. This is because the emitter pool is allocated all at once.