3ds Max Collision meshes
by DarqueLord · in Artist Corner · 02/12/2007 (11:42 am) · 12 replies
I am using Max and cant seem to get any collision detection in game. I created a copy of my building and named it col-1 and loaded it into the mission, I cant see it and the Orc player still passes through it. Please help the newbie fix this issue. Thanks! DL out.
#2
02/12/2007 (12:37 pm)
I have it but I didnt put it in the game... let me try that. Seems like alot of models for collision... Thanks, DL out.
#3
02/12/2007 (12:47 pm)
Loaded the shape col-1 and the shape collision-1 and it still doesnt work... I must be doing something wrong.. DL out.
#4
Here are a couple of things to check.
First, double check the hirearchy in your scene is correct. You may need to unfreeze and unhide all to see everything in the 'select by name' dialog.
Second is to make sure that the Col-1 mesh is a convex mesh. Depending on your building that you duplicated it might not be, in which case the Orc would most likely run through it. Try making a cube for your collision and see if that works for you.
02/12/2007 (1:04 pm)
Once you get used to it, the process is pretty easy to find problems in. It's all about having the right objects parented to each other correctly.Here are a couple of things to check.
First, double check the hirearchy in your scene is correct. You may need to unfreeze and unhide all to see everything in the 'select by name' dialog.
These first 4 obejcts are all 'dummy' objects that tell Torque how to
treat your scene. base01 is the parent for the scene.
base01
Collision-1
detail2
start01
These 2 are actual geometry, one is your render object and one is the
collision. Both are parented to start01.
geometry2
Col-1
This last one, which is not parented to anything tells Torque the total
volume that your scene is occupying.
boundsSecond is to make sure that the Col-1 mesh is a convex mesh. Depending on your building that you duplicated it might not be, in which case the Orc would most likely run through it. Try making a cube for your collision and see if that works for you.
#5
[IMG]http://img243.imageshack.us/img243/9991/sceneln2.th.jpg[/IMG]
02/12/2007 (2:44 pm)
Ok Im not sure I understand all the parts that go where and how to link them in max... Heres a shot of my scene... I have pulled them all apart out of the bounding box so you can see what I have... Thanks, DL out.[IMG]http://img243.imageshack.us/img243/9991/sceneln2.th.jpg[/IMG]
#6
www.garagegames.com/mg/forums/result.thread.php?qt=57043
02/12/2007 (4:25 pm)
Ok, let's back up a little bit - which exporter are you using for MAX? This is the one I use and recommend, and you should be able to use the quick setup to get your model exported with simple bounding box collision.www.garagegames.com/mg/forums/result.thread.php?qt=57043
#7
02/12/2007 (5:11 pm)
Sorry bro I dont use that Exporter because I have Max 6. I will continue to search for the answer. Thanks, DL out.
#8
www.donhogan.com/Torque/TGE_DTS_setup.jpg
tdn.garagegames.com/wiki/DTS/Getting_Started
- Don
02/12/2007 (5:52 pm)
All right then one last try at it.www.donhogan.com/Torque/TGE_DTS_setup.jpg
tdn.garagegames.com/wiki/DTS/Getting_Started
- Don
#9
02/12/2007 (9:08 pm)
Thanks for your nice graphic it was most helpful. I have set up my scene and I am using the old exporter and have tried to use the Tork tools but cant export the scene at all now. I keep getting the no details to report error. I have created all the nodes and geometry and labled it all and placed it in the bounding box. I am unsure if I linked it all correctly. I have never really dealt with Hirearchy stuff that much. Forgive my ignorance but I am comming from Gstudio and havent ever used a real engine before. Still cant understand why its messing up... Thanks, DL out.
#10
02/12/2007 (11:53 pm)
Ok sucess! After many hours and trying to figure out how the exporter worked I got models into torque with some pretty decent collision. Thanks for all the help Don, I appreciate it more than you know. Hopefully I wont have so much trouble with issues in the future... DL out.
#11
If you run into any more issues, just post and we'll try to get them sorted out.
02/13/2007 (5:54 am)
Excellent! Glad to hear it helped, I completely understand what you're going through, it's only recently I started to put more time into Torque and become comfortable with the process myself.If you run into any more issues, just post and we'll try to get them sorted out.
#12
02/13/2007 (7:32 am)
Thanks Dan! I will look foward to learning from the Torque vets around here. DL out.
Torque Owner Don Hogan