at the moment i am experimenting with particle candy and i have ran into a couple of problems. I am trying to create a function were i am trying to remove a particle when it touches/ falls on another particle, here it is. I cannot get this to seem to work so please help me!.
local function Collision(event) phase = event.phase if phase == "began" then AsteroidParticles:removeSelf()--Asteroid particles is the name of the particle end end cartBody:addEventListener("collision",Collision) --cartBody is the object that is listening for the collision, so when the asteroid touches the object it disappears