PDA

View Full Version : Collision Problem



coolfile
12-23-2007, 01:39 AM
As you see, I have made some "BIG" tanks which have a right OBBOX and set large number to their geometries. However, the tanks will still overlap when they get close.

Type="BOX"
MajorRadius="90.0"
MinorRadius="44.0"
Height="30.0"
ContactPointGeneration="VEHICLE"

How to fix this problem? Please help.

http://img183.imageshack.us/img183/4275/sshot0014sm3.th.jpg (http://img183.imageshack.us/my.php?image=sshot0014sm3.jpg)http://img266.imageshack.us/img266/7692/sshot0015fm1.th.jpg (http://img266.imageshack.us/my.php?image=sshot0015fm1.jpg)

BTW, please comment on the tanks, thank you.

Mongoose
12-23-2007, 03:19 AM
Why not try shriking the models and see if that fixes it. it could be the game just can't make a large enough collion field. I really don't know much but thats all i can think of.

Please don't flame me, i don't know how TW works yet.

CCGX
12-23-2007, 04:55 AM
are you sure your tank is 180 units long and 88 units wide? for me it's look a bit to much also for this tank.

have your model an OBBox?

coolfile
12-23-2007, 09:17 AM
To CCGX
As I said, the model have a suitable OBBox. And It can be found in the pics that the tank isn't bigger than the original GDI war factory.

To Mongoose
Thanks for your advice. As my tank is just a little bigger than Mammoth, I don't think it exceeds the game limit. I will try 3 ways later, which are
1. refer to the code of Mammoth, as it was copied from Predator Tank at first.
2. a much bigger OBBox
3. more than more Shape items, like War factory.