Game Development Community

TileMap collision bug

by Doug Barnes · in Torque X 2D · 12/06/2007 (8:47 am) · 1 replies

Hello Everyone,

I am using the news version of TX 1.5.5 and for some reason I cant get collision detection to work with the tilemaps that I'm creating. I think I'm doing everything correctly I'm setting collision on when I make the tilemap then I set and object type, then for the sceneobject that I want to collide with the tile map I set collides with the tilemap object type. Am I doing something wrong or is it just not working in this version of TX?

Thanks in advance,
Doug

#1
12/06/2007 (10:07 am)
Everything seems to be working. I created a Tilemap and a falling scene object. Neither has an object type defined and the T2DCollisionComponents do not point to each other. Just be sure to set the Collision Enabled checkbox within the Scene Object rollout on BOTH the Tilemap and the scene object. By default, you have collisions not set on the whole Tilemap, even if they are set for individual tiles.

John K.