swissnetizen Posted February 8, 2016 Share Posted February 8, 2016 Hi, I want to retrieve the tile data from a tile I collide against. I'm using on onBeginContact to capture the collision event. I've combed through the data given by the function but have been unable to find: A coordinate value for the tile (so I can use getTileFromWorldXY) Actual tile data I would then like to retrieve a tile property from the tile data. Does anyone know how to do this? Link to comment Share on other sites More sharing options...
swissnetizen Posted February 11, 2016 Author Share Posted February 11, 2016 I've figured out how to do it. For some reason, my debugger wasn't showing the X and the Y properties, making me go around in circles. But, they are there and you can use those and getTileWorldXY to retrieve the properties Link to comment Share on other sites More sharing options...
Recommended Posts