s4m_ur4i Posted October 18, 2018 Share Posted October 18, 2018 A collider collides only with set tiles on a tilemap. However, if you are using an overlap with a tilemap, it always callbacks. If you log the index of the Tile, it's 0. So "no set tile". Is that intended behavior? Link to comment Share on other sites More sharing options...
samme Posted October 19, 2018 Share Posted October 19, 2018 That is the intended behavior in Phaser 2 (but the blank index is -1), so it may be the same. s4m_ur4i 1 Link to comment Share on other sites More sharing options...
s4m_ur4i Posted October 19, 2018 Author Share Posted October 19, 2018 So I assume it's the same for phaser3. Don't really get why. Because you would want to check an overlap with all the Tiles that are existing in that layer. Or not? Nonetheless. For me, this question is answered. thanks samme Link to comment Share on other sites More sharing options...
Recommended Posts