See my comments on the Other thread. I will try to improve the rigg, but this said : With a real car, even a 4 wheels drive, you wouldn’t go everywhere, so I think that there are also some limits for a virtual car. Some big errors can be corrected by correcting the terrain, in order to get safer driving conditions.
EDIT : Hmm, you are right : the problem is bigger than I thought. Thank you for the feedback !
I have noticed something unexpected : The empties following the curve by Clamp To constraints are not affected by the ShrinkWrap modifier applied to the curve ! So, as the master bone tracks empties which are at a wrong altitude, the Sensors position are wrong and it leads to a bad positionning of the wheels and a broken rig !
I think that I will have to come back to the heavier solution with a “Ribbon” mesh following the curve and suporting the empties.
EDIT : Here is the 4.1 version. The armature is more robust.
Fixed bugs :
- Replaced the Clamp To method by the Ribbon mesh method used in 1.0.
- An unwanted frame offset on the sensors as also been fixed for better accuracy.
- Arms angles locked.
- Distance variations in high slopes between Left and Right wheels neutralized.
- Bone shape added for the Suspension in order to make easier the parenting of the car body.
This shows that the feedback of Blender users is very important. When you spent a long time on a project, sometimes you don’t see your errors and forget important things.
It is very late in the night, and I have not yet defined a precise process to resize the setup to match the car dimensions. It is on my To Do list.
The best way for using the system is to import your terrain, car and wheels, and edit the existing curve.
If you want to import the setup in your own file, append the group named Car-Setup.
If you want to change the initial direction of the car : select the curve AND the Arrow mesh and rotate of 90° around the curve center point. After that, copy the dLocY ipo curve in the dLocX ipo curve and delete the dLocY.
Download the new 4.1 release here :
http://3d-synthesis.com/Blender_Files/4x4-Autodrive-RigV4-1_09p.blend
Please check this version, and tell me if you find other bugs.