When I make two bodies and cut them they penetrate each other as if they attract. Why does it happen?
Why do objects penetrate into each other?
iPhoneSometimes these issues can be solved by increasing the velocity and position iterations in the step command:
Or maybe your time step isn't fixed so you should try using something like this:
Code:
world.Step(timeStep, velocityIterations, positionIterations);
Or maybe your time step isn't fixed so you should try using something like this:
Code:
float32 timeStep = 1.0f / 60.0f;
Thank you, but this way is not appropriate.
I thought the problem is in vertices' order but it's not the right assumption too.
So I still don't know what's this problem.
I thought the problem is in vertices' order but it's not the right assumption too.
So I still don't know what's this problem.
Original thread: https://box2d.org/forum/viewtopic.php?t=6899