Asdf.
alright, i cant get this myself....
I have 3 wheel mounts in total. hub0, hub1, and hub2. hub0 and hub1 are to the sides of the model, and hub2 is in the center. hub 2 is the one that I want to mount my visible wheel to. I have numwheels set to 1, the wheel datablock for the vehicle is set to the visible one, and I have this code at the bottom of my script:
function Gyrocyclevehicle::onAdd(%this,%obj)
{
%obj.setWheelTire(2, gyrocycletire);
%obj.setWheelSpring(2, gyrocycleSpring);
%obj.setWheelSteering(2,0);
%obj.setWheelPowered(2,true);
}
The wheel is still mounting only at hub0. what am I doing wrong?