Weird wheel rotation

Hello, I’m implementing the physics for my racing game, but when I make the wheel rotate when the car is accelerating the rotation appears weird, I attached 2 pictures showing the start rotation and the rotation at 180 degrees on the x axis.alt text
187013-after.png

From what I can see, I think the problem is the center of rotation. If you want to work properly I think you have to center the mesh position of the wheel so it rotates around the center of the rim, this can be done with a parent gameobject and modifying the transform of that. Just make sure that the position of where you are rotating around is the same position as the center of the wheel.