Game Development Community

Max2DTS Collision Questions And Answers

by Stephen Walsh · in Torque Game Engine · 09/27/2005 (9:21 am) · 13 replies

Hello, long time reader but first time poster here.
i've read everything on this website about collision over the past few days but i cant seem to get it working on my pc

i'm using 3Ds Max 5

i've followed the tutorial and did exactly as it says (cant really go wrong, not much there anyway) i click on detail2 ->clone ->rename "Collision-1", click on simpleSphere128->clone->Resize to 6 segments->rename "Col-1" , then export

Error -> "Col" of value -1 already exsits

(of course i deleted one of them and tried again , it exported but collision didnt work)

so i tired from scratch have a look at the image below,

www.geocities.com/stdw1/error.JPG
the error i got was "No Detail To Export"

Any help would be great.
Stephen Walsh

#1
09/27/2005 (9:38 am)
No detail to export means that you deleted detail2.

Bounds is not connected to anything
Base01 (Also not connected to anything) has the dummy objects connected to it (Start01, Detail2, Collision-1)
Start01 has model2 and col-1 attached to it.

model2 being your sphere and col-1 also being a sphere.
#2
09/27/2005 (9:44 am)
Thanks
Okay i've done this now

opened simpleshapes3.max
click on detail2 ->clone ->rename "Collision-1", click on simpleSphere128->clone->Resize to 6 segments->rename "Col-1" , then export

Error -> "Col" of value -1 already exsits

any ideas on that one.... please =)
thanks for the quick reply
#3
09/27/2005 (9:58 am)
Thanks
Okay i've done this now

opened simpleshapes3.max
click on detail2 ->clone ->rename "Collision-1", click on simpleSphere128->clone->Resize to 6 segments->rename "Col-1" , then export

Error -> "Col" of value -1 already exsits

any ideas on that one.... please =)
thanks for the quick reply
#4
09/27/2005 (10:06 am)
Could you post a pic of your schematic view ?
#5
09/27/2005 (10:36 am)
Sure thing

www.geocities.com/stdw1/error2.JPG
#6
09/27/2005 (10:38 am)
Here's ther error i get when i export it

www.geocities.com/stdw1/error3.JPG
#7
09/27/2005 (10:44 am)
In the schematic view you have two col-1's. Delete one of them.
Connect simpleShape64 and simpleShape2 to the start01 dummy object.
Delete one of the collision-1's which is attached to base01
#8
09/27/2005 (10:57 am)
Amazing, it worked perfectly, can i ask a favour?

i have a single object i want to import, lets call it "Compaq Evo" what item do i replace it with in the the tutorial?

Thanks For all your help people
#9
09/27/2005 (11:09 am)
Rename "Compaq Evo" to "CompaqEvo2"

Delete SimpleShape2, SimpleShape64, SimpleShape128
Delete Detail128, Detail64

So what you'll have left is

Bounds
Base01 -> Start01    -> CompaqEvo2
          Detail2       Col-1
          Collision-1
#10
09/27/2005 (11:10 am)
Amazing, it worked perfectly, can i ask a favour?

i have a single object i want to import, lets call it "Compaq Evo" what item do i replace it with in the the tutorial?

Thanks For all your help people
#11
09/27/2005 (11:28 am)
Thanks for that it exported grand and the collision works in the level but the objects invisible, like the CompaqeEvo2 never exported with it. all i have is the collision mesh. i'll post a picture of schematic view in a sec.

Thanks

www.geocities.com/stdw1/error4.JPG
#12
09/27/2005 (11:33 am)
Make sure that your material name matches the filename.
The material should also be a power of two. so 256px x 256px

"Brick.jpg" should be "Brick" in the material editor with a diffuse bitmap that links to the brick.jpg. Make sure to have the jpg in the same folder as the .dts

After seeing the schematic... you called the object Detail1 instead of Detail2. The number trailing the CompaqEvo is the detail level. So if you want Detail1 then it has to be CompaqEvo1
#13
09/27/2005 (11:45 am)
Thanks for all your help, heres the fruit of your labour =) so to say

now i have to work on texturing lol

www.geocities.com/stdw1/2.JPG