Wheels
From UnityCar Wiki
(Difference between revisions)
Unitycar (Talk | contribs)
(Created page with "The Wheels class is used to store all the wheels (4+) of the vehicle. Parameters: *'''Front Left Wheel''' here goes the front left wheel, that is a GameObject with a Wheel clas...")
(Created page with "The Wheels class is used to store all the wheels (4+) of the vehicle. Parameters: *'''Front Left Wheel''' here goes the front left wheel, that is a GameObject with a Wheel clas...")
Latest revision as of 12:13, 18 June 2011
The Wheels class is used to store all the wheels (4+) of the vehicle. Parameters:
- Front Left Wheel here goes the front left wheel, that is a GameObject with a Wheel class.
- Front Right Wheel here goes the front right wheel, that is a GameObject with a Wheel class.
- Rear Left Wheel here goes the rear left wheel, that is a GameObject with a Wheel class.
- Rear Right Wheel here goes the rear right wheel, that is a GameObject with a Wheel class.
- Other Wheels here goes all others wheels. So you want to model a 6 or 8 wheels truck you put the others wheel here. Keep in mind that if you set AWD (All Wheels Drive) in the driveline, all the 6 or 8 wheels will be powered.