Blog

Car Rig Project - 3ds max - Updated

DEC
10
2008
Posted in category Featured work | 7387 views
Tags: car  rig  f1  scripting 
You need to download the latest version of Flash to play and/or enable JavaScript.
View HTML 5 beta
The car rig project is intended for anyone wanting to create a vehicular animation in 3D Studio Max, and formed a module on my postgraduate degree. The project has since been updated to include oversteer, wheelspin and the option for a driver, as can be seen in the Motorway F1 video on the videos page.

A scripted rig is set up to allow for any four wheeled vehicle to be applied to it, which is manipulated using the sliders as you can see in the image below. All that is required is a model of a car, to edit the ground plane for any bumps if needed, and to draw the desired path the vehicle needs to take.

Speeds can be set to automatic or manual, allowing more control. The relevant forces that need to be applied to the car are automatically calculated, and the user then defines how much impact these forces will have. So a very heavy car with comparatively light suspension can be set to lean more in corners, while a lighter car, such as an F1 car with its stiffer chassis and suspension, will tend to bank less.


image


Similarly, forces applies upon acceleration and braking can be applied. This is accounted for by referencing frames in advance and behind to judge whether the car is accelerating, braking, or remaining at a constant speed. The faster the speed change, the greater the angle the vehicle will dip or raise. So under extreme braking, the front of the car will be pushed onto the front wheels, while the opposite will happen under heavy acceleration. A multiplier slider function is added to allow the user control over the amount that these forces should be applied - a cartoon dragster for example may have exaggerated effects and do a wheelie on acceleration, while a more conservative and realistic road car would react more gently.


image


Some of the features are automatic - such as the wheel rotation. This is calculated by working out the distance travelled in relation to the diameter of the wheel. A future development would be to allow wheel spin. On a similar theme, tweaks to manually control the steering may be beneficial, to give the impression of over or understeer. Oversteer in particular would be useful for rally cars. A change in grip levels could also be a future addition, to show the effects of driving on ice for example.


To control the steering and path, a spline is drawn. There is a look-ahead function to control the direction in which the wheels are pointing, so the vehicle begins to turn fractionally before the actual cornering effect begins, as in real life. As with everything else about this rig, this is also controllable how far ahead the function views to fine tune depending on the vehicle applied.

One thing that perhaps needs some work is the reaction over bumps, which seems a little forced. This obviously isn't a problem over flat ground, but over very harsh hills, the car should give the option to bounce a little more than it does, and this is something I shall continue to work on.

To demonstrate the rig, here are links to two further videos using a rally car and an F1 car. The F1 car has skinned suspension, as it is more of an unusual vehicle, with protruding wheels, and you will see it has an over-exaggerated effect to demonstrate the vertical movement, particularly as it bounces over the curbs.

Finally, a larger version of the video above can be found here. Other video sizes of all the clips here are on the videos page.

Related posts

 

    RegisterLogin

Comments [8]

#1 Pablo Abay
04/02/2009 - 14:58:48
Pretty cool.
Is it possible to send me your max scene to annalyse it. thx
 
#2 colin robinson
09/02/2009 - 12:08:49
hi there im just new to 3d max i have bein trying to get a car go like in your video but im geting no where was wondering if u could send me a tutorial on how u did it b brilliant. great looking video u did hope with a bit a help i can do it all the best colin & thanks
 
#3 andy
18/02/2009 - 14:43:10
hi !

could i have the .max file to test your awesome rig please
are u planing on making a tutorial to explain some of these
i m specially curious on how you rigged the wheels depending on the direction

good job!
 
#4 Adam
13/04/2009 - 16:02:09
http://www.adamgleeson.co.uk
Thanks for all the interest and positive comments about this rig.

For all those that requested a tutorial, I've added one here. It's quite basic and if there's demand for a more in-depth version, I'll add one at some point. :)

Adam
 
#5 Ben Philips
16/06/2009 - 10:43:21
Hi Adam. This is great, I love what you've done. Can I please have a tutorial for setting up this complex car rig, as I want to create something similar. I've already been down the reactor route and now want something more complicated. If you can't do a tutorial, I would really appreciate some advice, such as where did you learn all this and how can I access it.

Many thanks,

Ben
 
#6 Ben Philips
22/06/2009 - 18:56:59
Hi Adam,

I have gone through that turorial you suggested, and its been of great help...thanks!!

Have you yet had time to write up a tutorial for the processes you used? I am looking forward to learning your techniques.

Thanks,

Ben
 
#7 Adam
16/06/2009 - 11:15:26
http://www.adamgleeson.co.uk
Hi Ben,
I'll put together a tutorial at some point, but to get you started, I began with something similar to the conform object part of this tutorial.

I can't find the exact tutorial I initially followed, but this should hopefully get you going. Actually, looking through this tutorial, quite a few of the steps are very similar to how I made mine - I wish I'd found this when I was making mine!

Adam
 
#8 arif3d
12/10/2009 - 08:21:11
Hi adam .. i need this tutorial "Car Rig Project - 3ds max - Updated" but problem is that link is not working..
 


Post a comment here


Sign in | Register
Mobile theme on