Hi,
I created a function :
[lua]local function onLocalCollision( event )
if ( event.phase == “began” ) then
if (event.other.name == “wall”) then
event.target:removeSelf()
end
end
return true
end[/lua]
but the collision happens only with the wall, avoiding all other spawning objects ?!