particleCollision

Type Event
Revision Release 2024.3703
Keywords particleCollision, physics, LiquidFun
See also physics.newParticleSystem()
ParticleSystem

Overview

Collisions between rigid bodies and ParticleSystem particles are exposed through the Corona event listener model using the "particleCollision" event.

Important

When implementing particle collisions, you must set the "fixtureContactListener" flag for each generated particle or particle group. If this flag is omitted, you will not receive particle collision responses.

Properties

event.a