Closed deniztraka closed 7 years ago
Hi, I'm not fully understanding the question. What is the problem? Contact event not firing properly? Too much overlap? There will always be a small overlap in a collision.
Also why do you set damping = 1?
i set damping to 1 because , i only need collision for bodies for now. i dont want any force to them. the problem occurs when i inherit the body class. maybe i did it wrong in the player.js player.js url because it works well without inheritance.
Hi, I have problem with the bodies. They are overlapping each other.
This is my body creating code.
i'm adding this objects to world. world.on('beginContact', onBeginContact); is fired when they are colliding each other. But at the same time they are overlapping each other...
Also this is my world initializing code for info.
Everything is same with the tutorials, i do not know where can i look and how can fix this issue.. Can you please help me with this problem? For more info, the repository of those codes in here if you like to examine it.. https://github.com/deniztraka/MultiplayerMessup
Best regards and thank you for this physics library :) deniz