Collision with csv tile



There is no collision between the csv layer and the player, the code is the same as the example, but there is no collision, what is happening?


By chance, did you happen to check the indexes you are using for layer? When you call the setCollisionBetween method, you will need to pass the range of indexes that are used in your Tilemap.