problems with jittering bodies colliding with edges...

I am experiencing problems with wheels jittering while driving on a edge surface.

I have made a level editor for a Motorbike game where one draws out vertices in a world and then createas a solid polygon that the bike can drive or collide on, now the thing is the wheels work perfectly when i have driven on regular boxes and edges that i hardcode in the game, but when driving on the surfaces that are created in the editor and loaded in to the game the wheels start to really jitter. I have checked around on the forums and tried setting the wheels to bullets, changing the time steps and vel and pos iterations, changing density on the wheels and so on, and they have improved the overall performance of the car and it doesnt jitter as bad as it used to but some jittering on the wheels still remain.

Is there anybody that has any more tips out there that could be useful, I would really appreciate it 🙂
What is your drawScale?
We have a Pixels to meters ratio that is set to 32 in the game.
One of my games uses 30 pixels per meter, and I'm not seeing any jitter. Then again, nothing has restitution, which probably increases jitter. Secondly, you may be seeing jitter from how your objects are rendered, if you are using integers or GL_NEAREST for your rendering, the jitter might not be from your code. Is the debug draw jittering, or the bitmaps that you are using for your objects, or even possibly just the camera is jittering?

Original thread: https://box2d.org/forum/viewtopic.php?t=6299