@w.baig84 even if this is a bug or not we need to find a fix for this…
can you try doing this ?
[lua]coin1.hit = 0
coin2.hit = 0
local function onLocalCollision( self, event )
if event.other.hit == 1 then return true end
if ( event.phase == “began”) then
if ( event.other.name == “coin 1” or event.other.name == “coin 2” ) then
event.other.hit = 1[/lua]
I hope you know where to place this…
[import]uid: 71210 topic_id: 13795 reply_id: 51477[/import]
[import]uid: 40538 topic_id: 13795 reply_id: 51578[/import]