Game Development Community

More questions regarding collisions...

by Lonnie Bruton · in Torque Game Engine · 10/11/2004 (10:30 pm) · 4 replies

The documentation is sketchy at best, and what little bit i can find seems to be geared towards 3dsmax 4 not 6,

What i am trying to do is simple... I have made a box with texture, and sucessfully exported it to .dts.

When i load the shape in the engine, it does not have any collision data, I have followed tutorials, in creating a copy of the box, and naming it Col-1 and linking it in the hiarchy, however, again nothing changes in game.

I was told that there was a Datablock, and i would need to create a .cs file for the object, If this is true, i cannot find anything on it, I know that there are several ways to achieve this.

Any suggestions on what is the best way. and/or any links to some detailed documentation, (and please dont post chapter 8 section 3, it is of no help)

Ive been struggling with this for a few hours, I am missing something, im sure its simple. Do i need datablocks? or will creating a dummy object before exporting it help.

#1
10/11/2004 (11:40 pm)
You dont need any datablock for a simple box !
The only thing you need todo is , a collision box called col -1 and a collision dummy called collision-1

The col-1 box should be linked to the shape.
and the collision-1 dummy to base01 or what you call it .
Thats the only thing you need to collide with it !!
#2
10/12/2004 (1:21 am)
Ok, I think thats what im missing, The dummy file. Thanks. I will try that.
#3
10/12/2004 (1:27 am)
Another quick question. When you create the dummy object, You just create a dummy in max correct? does it need to conform to your object, or does it matter? Sorry, im really new to this
#4
10/12/2004 (4:35 am)
Lonnie: The sketchy documentation does cover this though :)

It's a simple dummy object in MAX, correct. Nah, it doesn't matter if it's conforming or not, it doesn't even have to be linked.