Game Development Community

Collision detection

by Abdiel Jaramillo · in Torque Game Engine · 01/07/2009 (4:15 am) · 1 replies

Hi,

I'm trying to detect a collision with the terrain but i can't figure it out. I created a mesh in 3ds max and maxtodtsExportPro. Then I created the required files in TorqueScript. I loaded the dts in TorqueShowToolPro and the colision mesh was created fine. The problem is that the event I created does not get fired.

I think I'm missing something really basic but i can't find anything different from what I'm doing.

I would appreciate any help.

Thanks.

#1
01/07/2009 (1:23 pm)
You need to provide more information on your model,how you create it,your TS code.What type of collision you need.
Is it movable or static.
You mean it fell across the terrain ?
What type of terrain you use ?
Polysoup terrains need the StaticTSObjectType mask to be added for example.