Author Topic: Wanna earn some cash?  (Read 1713 times)

Ok, i used black50.png, i guess 50 stands for alpha :P anyway its paintable, wheels show up nicely, im so pleased but the wheels still sink into the floor, i think it might be a collision issue, can anyone help me? and what a collision box?

« Last Edit: July 23, 2008, 11:49:12 AM by paul_UK »

Oh, that's probably it

Your tire scripts probably have the same "size" variables as the regular (smaller) ones.

oh, umm im only using 1 script which is the car script. or do you mean the wheel sizes in the actual car script? also i noticed my car goes through walls if you crash into it and keep driving it slowly sinks through, what could that be?

Well, I'm guessing you changed
Code: [Select]
defaultTire = jeepTire;
And you'd have to make a wheeledVehicleTire for your own wheel, correct?

Code: [Select]
datablock WheeledVehicleTire(jeepTire)
{

etc

mass = 10;
    radius = 1;

etc
};

Probably change radius

Or you could edit the model itself and give it a proper collision box.

So what were you saying about cash? :3

ok so how do i give it a collision box?

also where it sayd default tire i got f1 tire and then theres no parameters to adjust the mass or radius :P
« Last Edit: July 23, 2008, 02:44:28 PM by paul_UK »

also when i set default srping to jeep spring it used the jeep spring, when i changed it back to f1 spring it sank into floor again, thing is where the suspension setting are it says f1spring so wheres it getting the jeep spring settings from? im so confused, i cant code :P

Jeep spring settings are in support_jeep.cs. Copy over the jeep spring, rename it, and put it in your f1 .cs

RW, split the cash? :3 I don't have a paypal account anyways D:

You need a modelling program to edit the collision mesh and you also need the original model, not just the DTS shape. You could try Shaper though...its a free program that can actually open and edit DTS shapes.

Then just use the scale feature to increase the size of the collision box.

@Falcon  - yeah


Every object has a visible shape (which is the wheel that you see) and a collision shape (which decides the shape for dealing with collisions).

I don't actually have a clue how to edit it.

Send me the wheel, I will see what I can do.

sorry, no can do. i think its the script which is broked, i cant script too well :P

sorry, no can do. i think its the script which is broked, i cant script too well :P

Why can't you send me the wheel? I'm not going to steal a crummy wheel model. Its not the script thats broken...but w/e.

sorry, no can do. i think its the script which is broked, i cant script too well :P
It's a Collison Box issue, you need to modify it to suit the tires' dimensions.