Game Development Community

Vehicles: Adding spoilers, different wheels, etc.

by John Rockefeller · in Artist Corner · 08/04/2005 (2:59 pm) · 4 replies

Hi there

I have a small team working on a racing game but we've hit a major stumbling block. How does one go about adding spoilers to their car, or changing the wheels after buying a new set? Does anyone have an idea of how this is done? Even if someone could lead me the right direction logically, I could probably code it.

Maybe we use joints? I don't know. I'm lost.

#1
08/04/2005 (3:27 pm)
The wheels are connected to the vehicle through nodes (or hubs), so adding a different set shouldnt be a problem aslong as they are of a similiar size. If you want to change spoilers and bumpers and the like, youd have to model them seperately and mount them on the vehicle using nodes as mountpoints.

Think of it like a soldiers weapon, a soldier would carry a knife, handgun, grenade, rifle etc. The soldier wouldnt carry them all in one hand, they're mounted in the hand as you cycle through the list of weapons.

So in your case youd cycle through a list of wheels, spoilers, bumpers or whatever thats specifically for that car.

Hopefully pointed you in the right direction.
#2
08/04/2005 (4:29 pm)
Yeah that helps, a lot actually. We were kind of hoping that it would be done this way. It's always been a question of ours. One that we could never quite find the answer to. Can I use the same mount points like mount0 and stuff that someone would use for the FPS kit? Keep in mind I'm using the vehicle starter kit.
#3
08/04/2005 (5:54 pm)
@John
It works basically the same way in the 'vehicle starter kit'. Use hub0..hub3 for the wheels, and you use mount0..mount9 to attach things like spoilers, weapons, and etc to your vehicle. I found the Show Pro Tool handy for making sure your scale, orientation, and position were correct.
#4
08/04/2005 (5:58 pm)
Try the death car resource from Harold the labrat Brown, that should give you a basic idea of how to set it up.

edit: car with weapon mounts, I think its called.