Game Development Community

Collision. Help

by Simon Butler · in Artist Corner · 12/07/2005 (7:02 am) · 4 replies

Hi,

I'm totally new to this so please bear with me. I have over 3 years experience using 3D Studio and I've worked at a games company, but I've never had to set up collision objects before. I understand how they work, just not how to implement them.

I can export to Torque fine and I've set up a bounding box that enabled me to do this, its just collision that I am having trouble with.

Do I build collision the same way that I did the bounding box? If so how do I apply it to my model? It does not seem to link with my main model when I look in the schematic view!

Also are NODES the same as DUMMYS in Max.

Help!

Thanks, Simon.

About the author


#1
12/07/2005 (7:34 am)
Is this for a object or a player?

for a object here is the easiest route i found.

make your object, select it
goto DTS exporter hit the renumber selection type in 2
click the embed shape which will make up dummy objects in hieracy
create a box encompessing your object call it bounds and not linked to anything
now depending on your meshes create a box or tube or whatever prox size of what you need to have as collision.
name this collision box as Col-1
goto Graph Editors then to new schematic view
click third button (conect) click your Col-1 then click the start01
now goto edit choose by name and click detal2, now click edit clone make a copy and name this Collision-1
now in the exporter click whole shape save the dts where you want


in your schematic you should have bounds by itself. base01, then start01,detail2,Collision-1 as subtree to base01. then you have start01 with your model or multiple models connected to it and also your Col-1

once you do this once or twice it is easy as pie. just remember to make sure your models pivot is at center bottom of your model and place the model at 0,0,0

now to tell you you can have upto 9 collision meshes if your model is really out there you can make multiple collisions same way just name them col-2 with collision-2 and so on upto 9 of them
#2
12/07/2005 (8:13 am)
Thanks! That is a massive help!
#3
01/17/2006 (2:30 pm)
Thanks for that DejaBlue. Was having the same problem, but sorted now. 8)
#4
03/11/2006 (5:07 am)
Excellent post DejaBlue. Thanks for keeping it simple. Some of us still need to be spoonfed. Are the names case-sensitive?

Thanks!

Tony