03-05-2018, 08:32 AM
(03-05-2018, 07:28 AM)Jaydena Wrote: Hey Josemendez,
This script works well but it gets very inefficient after around 1000 particles have been emitted, dropping down to 4fps.
Is there anyway to achieve this effect in a more efficient manner?
Such as set the particle life to zero based on it's z, x or y transform value rather than a collision?
Cheers!
You could deactivate collisions and just iterate over all particles positions instead, yes.
Out of curiosity, I've tested this script and it only causes a 10% performance impact or so for 2500 particles. What platform are you targeting? and have you profiled to make sure this is the culprit?