Contents

SCNParticleModifierStage.preCollision

The stage before SceneKit simulates the results of collisions between particles and scene geometry.

Declaration

case preCollision

Discussion

Insert a modifier block at this stage to alter the inputs to collision resolution. For example, if you modify the bounce factors of particles during this stage, SceneKit uses the modified factors to compute the bounce velocity of each particle.

See Also

Constants