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.
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.
About the author
Torque Owner Ivan Mandzhukov
Liman3D
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.