Game Development Community

No Collisions on DIFs

by MaxAntinone · in Torque Game Engine · 12/05/2007 (3:20 pm) · 5 replies

I just made my first DIF objects in Constructor and imported them into Torque and was disapointed to discover that my character will just walk and fall right through them.
I did make one shape that's a essentially a cube with some hallways carved through it, and the player collides with certain brushes inside this shape, but just walks through most of them.

Is there some feature of constructor I've missed here? Is this maybe because I had some concave shapes in there (Will the DIF exporter even allow any concave shapes?)

I should note, I've been using Constructor on my computer at home and the Torque SDK is on a school computer, in case that might cause problems.

#1
12/05/2007 (3:36 pm)
You need to select the brushes and convert them to collision brushes.
#2
12/05/2007 (4:31 pm)
Download the patch here. It should fix your collision difficulties. You should be fine with structural brushes.
#3
12/05/2007 (5:57 pm)
I tried making them all collision brushes and that didn't change anything.
I don't know if I'm using the patch right (I just dropped it in the constructor folder), but it doesn't seem to have changed anything.
#4
12/05/2007 (7:35 pm)
That's all you have to do--though you should be using structural brushes. Then make sure to use the Export as DIF option. Load up Torque and you should have collisions when you load it into the engine.
#5
12/31/2007 (3:25 pm)
Thanks. Everything worked fine once I read that I had to save it as a .map file, then close and reopen.