Help with terrain

Hi, I need a bit of help with some if the issues i'm getting with my terrain.

My game is a 2d monster truck game. At the moment my terrain is defined using an editor I have made. The editor allows me to create the terrain using a bezier curve. The curve is then used to create a series of boxes which make up the terrain. At the moment this is working well.

My problem is that the wheels of my truck are jumping when they hit the edges of the boxes. The illustration provided shows the setup I have. I've seen examples of this type of game created with box2d before so if anyone can help me I would very much appreciate it.

(At the moment I don't have suspension set up)
What is the radius of the wheels? Does the same problem happen if you turn off continuous collision?
Thanks for the response. Turning CCD is off because the revolute joints on the wheels act strangely otherwise. Changing the radius/density of the wheels makes no difference.
Few more things I've tried:

- Turned CCD on, and tried rolling one wheel on its on down a curved hill.
- Also tried taking the first and last points of each polygon and using SetAsEdge.

and the problem still exists.
Erin Catto wrote:
What is the radius of the wheels?


The density should not matter.
Nothing I've tried has made any difference. Has anyone who has had this problem managed to solve it?
I've asked you for the radius of the wheel a couple times now. If you can't answer that, I don't think I can help.
Been really busy over the last few weeks and haven't had the time to work on this.

BTW, Sorry Erin I forgot the mention that my wheel radius is 0.6 however there will be different vehicles with different sizes and going bigger or smaller doesn't change anything.

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