Game Development Community

Colliding with door

by Michael Rogers · in Torque Game Engine · 02/06/2007 (5:50 pm) · 3 replies

Hi, All:

I've downloaded the very nice looking door -- http://www.ozblog.com.au/?cat=2 -- and placed it in a game. According to the instructions on the web site, when my player collides with it, something's supposed to happen, but the door's onCollision() method isn't being called -- my player just sidles to the right of the door until she's cleared it, and continues on her way.

Any idea what I'm doing wrong?

Thanks,

Michael Rogers

#1
02/07/2007 (7:12 pm)
Is the door a dif or dts? I tried to follow your link but wasn't good. If it's a DTS, you must create a collision mesh.
#2
02/07/2007 (7:26 pm)
The link seems to be up, maybe it was down for a while. It is a .dts file, and in Torque ShowTool Pro, when I click on the collision mesh button, the whole door turns blue -- so I'm assuming it really does have a collision mesh.

Thanks for responding, and if you have (or anyone else has) any other ideas, please let me know.
Michael
#3
02/07/2007 (11:22 pm)
Any errors in the log?