Hi,
I have a doll that appears and disappears (no transition) around the screen, but when it appears on another image I found.
I tried with:
local physics = require (“physics”)
physics.start()
Both items addBody Statics
function functionx (e)
if (e.phase == “began”) then
print (“Collision ok”);
end
end
Runtime:addEventListener(“collision”, functionx)
Thanks.