The same code below works in build 2100.
But we i run it in build 2189, it will print 3-5 times when the collision happened.
Is there any change in the box2D?
local function onLocalCollision( self, event ) if ( event.phase == "began" ) then if event.other.name == 'stone' and not gameOver then print('hit') end end end player.collision = onLocalCollision player:addEventListener( "collision", player )