I'm trying to do an experiment where the user creates particles when they touch the screen, and then the particles just stay in place, only dying in collision. I'm wondering if it would be possible to do this in a way where the particles have an infinite lifespan? I feel like I've done this in Unity before, but never in SceneKit.
1 Answer
There is currently no way to completely eliminate particle death, but you can set the particle life span to an outrageously high number (20,000 seconds is pretty close to the upper limit of the safe zone) well beyond what would be expected for user interaction on an iOS game.
-1
work? I've seen some engines use that to represent a lifespan of infinity. Or maybeCGFloat.infinity
. \$\endgroup\$