Game Development Community

Tilemap collision not working?

by Phil Carlisle · in Torque Game Builder · 05/22/2007 (10:01 am) · 2 replies

I'm having a funny old time with tilemap layer collision.

I define a tile with collision switched on (the checkbox), I define a sprite with the collision switched on and a collision set as circle.

I run it and no collisions are happening.

I switch on physics for the sprite and move around, when it comes into contact with the collision tile, I get a crash.

Any idea whats occuring?

#1
06/01/2007 (5:59 am)
Hiya Phil, care to drop me an example script to repro?
#2
06/02/2007 (4:05 am)
Willdo Neo, sorry, bit busy this week and the internet is down.

By the way, I tried the same thing at work and it seems to work. Somewhere I guess I have a different set of masks/collision and one of them isnt happy. Maybe its that I had "kill" on the collision value for the sprite.

I'll post an example level monday.