Problem with initial orientation of complex object

I'm working on a top-down car, based on this code:
viewtopic.php?f=8&t=1547

The car has 5 boxes, joined together with b2RevoluteJoint for the front wheels and b2PrismaticJoint for the back wheels. wheels joints connect to the car body.

I'm trying to rotate the car body (where all the wheel joints are connected) to set an initial orientation using body.SetAngle(_angle * Math.PI / 180.0); The problem is that the body is not rotated to the exact angle, but ends up a bit off - I guess the joints are influencing the rotation somehow? E.g if I specify and angle of 94 deg, the car is rotated to 90 degrees.

What is the proper way of rotating a complex object like this with multiple rigidbodies and joints?

thanks,
Patrik
Do you move the wheel bodies to their correct starting positions too, or only the chassis?
If you are only moving only the chassis and leaving the wheels behind, the joints will be out of alignment in the initial state.
This means that during the first few time steps the joints will correct themselves which is done by applying impulses to both the chassis and the wheels, affecting the lighter wheel bodies more but still having an effect on the chassis too. It could correct itself within a handful of time steps which would be pretty hard to see.
Just a guess.
I was only rotating the chassis. Updating all objects (position + orientation) solves the issue.

thanks,
Patrik

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