This is a series of scripts to set up and rig a Vehicle using Utility nodes instead of any expressions.
The vehicle can be setup to "autospin" the wheels by moving the vehicle in the X and Z planes. Rotation of the rig in the Y Plane will automatically set wheel rotation to compensate of vehicle moving in the opposite direction after rotation.
Also addition spin can be added or blended on top to simulate wheelspin etc. Also each wheel can be switched on or off, also each wheel can be set to stop or rotate in reverse at any time.
Vehicle rig also sets up steering for front (and rear) with independant steering for both front and rear steer with different ratios for both if required. Also front and rear can be switched off or even reversed to simulate the type of steering seen on high performance cars.
The rig also sets up fully independant and controllable suspension for each wheel. The vehicle will tilt and swivel based on position of wheel ground locators. If these are constained to a ground plane then suspension will automatically operate.
Installation:- To install just copy all scripts to your main script directory and start Maya. To use script see help file (will include shortly in script pack). To start GUI type DVY_VehicleRigger in command line or drag to a shelf to make a button.
Will also include a short video of the various settings shortly.
Detailed usage :-
There are 3 "Rig Contollers"
Controls movement and rotation of main vehicle.
Also houses attributes for setting range of suspension travel
using attribute Piston Range. Also there are also individual
range settings for each wheel(not active yet).
Controls steering for Front and Rear Wheels. The front steering
is active by default, to activate Rear steering set "Rr Steer"
to On. Setting the "Fr Steer Ratio" and "Rr Steer Ratios" to a
negative value will reverse direction of rotation.
Set "Fr Steer to Off will set vehicle to have rerar steering.
The ratiop can be set anywhere between -1 and 1, this will
reduce effect of rotation to simulat the Rear wheel steer you
now see on some high performance cars.
This will tilt the Chassis group as reguired. Also each indiviual
Wheel can be moved up and down by moving each wheel Group Ground
Locator to simulate ground variations. If these are Geometry constained
to a "ground" object or plane to movement will be automatic.
Link to Download
Thanks and enjoy any comments good or bad let me know at Davvey@ntlworld.com