i found out that it somehow works when you put the Physics world inside the level instead of putting it in the gameScene.
But this is very inconvenient because i would have to generate the pig also inside the level and i want as much logic as possible to have outside the level.
By trying to but all the logic inside the level it works on simulation on mac (desktop) but it crashes on iphone and android when trying to draw a line.
Any ideas how i could go on while the bug isnt fixed yet?
appreciating your help