Dear returning Carmageddon fans Image

These last years, the CWA Board assimilated what was archived from many old Carmageddon forums, including the whole of the Official Carmageddon.com Forums.
If you wish to merge any previous account you might have had with your new or existing CWA account, don't hesitate to reach out to us !

More bounding box bullshit

The greatest unfinished sequel ever!
Post Reply
User avatar
Mad_Maxine
Pink
Posts: 3232
Joined: Tue Jan 10, 2006 1:24 pm
Contact:

More bounding box bullshit

Post by Mad_Maxine »

This is fine,

1 // Number of 'Bounding shapes' entries.

// Bounding shape: This shape definition is used for all collisions in the game.


// It is important to get this shape to fit your car as
// close as possible. It will add a lot of realism to your car. If you are adding a lot
// of suspension, remember to raise this shape as needed.
polyhedron // Type
8
-0.206,0.0460,-.289
-0.206,0.1649,0.292
0.1933,0.1550,0.3533
-0.206,0.0466,0.4266
0.21,0.0466,-0.29
0.2033,0.1649,0.-290
0.1933,0.1550,0.4533
0.21,0.0466,0.43


This gives the error Wheels outside all shapes.. herp derp

2 // Number of 'Bounding shapes' entries.

// Bounding shape: This shape definition is used for all collisions in the game.


// It is important to get this shape to fit your car as
// close as possible. It will add a lot of realism to your car. If you are adding a lot
// of suspension, remember to raise this shape as needed.
polyhedron // Type
8
-0.206,0.0460,-.289
-0.206,0.1649,0.292
0.1933,0.1550,0.3533
-0.206,0.0466,0.4266
0.21,0.0466,-0.29
0.2033,0.1649,0.-290
0.1933,0.1550,0.4533
0.21,0.0466,0.43

polyhedron // Type
8
0.0857,0.1531,0.4296
-0.086,0.4675,0.4295
-0.86,0.0150,0.431
-0.086,0.1532,0.4527
0.0857,0.1531, 0.4297
0.833,0.1677,0.4296
0.857,0.0150,0.4532
0.857,0.1532,0.4527



Advice please? ..thankyouverymuch..
User avatar
Husky
hit n run
Posts: 225
Joined: Sat Jan 05, 2008 12:27 am

Re: More bounding box bullshit

Post by Husky »

Do a search of this forum for "Wheels outside all shapes." Third thread other than this... might just have a solution :grin:
User avatar
Errol
Toxic Ranger
Posts: 1168
Joined: Fri Dec 25, 1998 12:00 pm
Location: Sunny Wales
Contact:

Re: More bounding box bullshit

Post by Errol »

Quick hint Max, you see the wheels entries inside your "MECHANICS STUFF" section? Each wheel has a position. Those positions have to be inside your bounding box.

Plus all wheels need to be inside the first box I think, you can't have some inside one and some inside another. I think.
:: You wanna build a snowman mod C:R? Get Flummery, the Carmageddon modders tool. ::
User avatar
Mad_Maxine
Pink
Posts: 3232
Joined: Tue Jan 10, 2006 1:24 pm
Contact:

Re: More bounding box bullshit

Post by Mad_Maxine »

EDIT: My post eraced because i read yours wrong, Will go look see
Last edited by Mad_Maxine on Wed Sep 07, 2011 6:17 pm, edited 1 time in total.
User avatar
random_monkey
motorized monkey
Posts: 2878
Joined: Fri Sep 08, 2000 4:00 pm
Location: Burton, Midlands, England

Re: More bounding box bullshit

Post by random_monkey »

I could be wrong, but I think the wheel points have to be in the lowest bbox the car has (in terms of closest to the ground).

Your first box has a Y pos of 0.0466 (at its lowest), and you say that works fine in C2
When you add your second box, it has a lowest Y pos of 0.0150.

I assume your wheel points are in the first bbox which is higher, but not the new one which is lower. So you'll either need to move your wheel points to be in the new box, or raise that 2nd bbox up so the original one is the lowest.

If neither of those work, post the points of your wheels :)
random_monkey
Image
Image
User avatar
random_monkey
motorized monkey
Posts: 2878
Joined: Fri Sep 08, 2000 4:00 pm
Location: Burton, Midlands, England

Re: More bounding box bullshit

Post by random_monkey »

I know you've decided to start over (since we got in a mess when I was explaining on MSN), but in the interest of just completing this thread, here's what I think it should be. I've marked the bits I've changed in red.

polyhedron // Type
8
-0.206,0.0460,-0.289
-0.206,0.1649,0.292
0.1933,0.1550,0.3533
-0.206,0.0466,0.4266
0.21,0.0466,-0.29
0.2033,0.1649,0.-290
0.1933,0.1550,0.4533
0.21,0.0466,0.43

polyhedron // Type
8
0.0857,0.1531,0.4296
-0.086,0.4675,0.4295
-0.086,0.1500,0.431
-0.086,0.1532,0.4527
0.0857,0.1531, 0.4297
0.0833,0.1677,0.4296
0.0857,0.1500,0.4532
0.0857,0.1532,0.4527

There were also a couple of "0.8" X points in the 2nd bbox, which I think should have been 0.08 like a couple of the others. (Which is why I think it was 'wide' like you said on MSN)

Anyway, 0.1500 is above the main bbox which has a low point of 0.0460, so this should work.
random_monkey
Image
Image
User avatar
Errol
Toxic Ranger
Posts: 1168
Joined: Fri Dec 25, 1998 12:00 pm
Location: Sunny Wales
Contact:

Re: More bounding box bullshit

Post by Errol »

What a strangely shaped box you have.
:: You wanna build a snowman mod C:R? Get Flummery, the Carmageddon modders tool. ::
Post Reply

Check who’s online

Users browsing this forum: No registered users and 239 guests