- Home /
moving tiles on a tilemap
Hi , i am developing a project like Sokoban. imagine there is a map with boxes on it and you should be able to push the boxes. i made a grid and by tilemaps i have put my ground on layer zero and my boxes (on layer 1). but , seems like there's no way to move each box separatly. if you assign a rigidbody 2d component to your tilemap object (unlike tilemap collider that enables on each tile separately) the component will be assigned on entire map and not each tile separatly. is there a way that i can overcome this problem without giving up on tilemaps ? should tiles on tilemaps only used staticly ?,Hi , i am developing a project like Sokoban. imagine there is a map with boxes on it and you should be able to push the boxes. i made a grid and by tilemaps i have put my ground( on layer zero) and my boxes (on layer 1). but , seems like there's no way to move each box separately. if you assign a rigid-body 2d component to your tilemap object (unlike tilemap collider that enables on each tile separately) the component will be assigned on entire map and not each tile separately. is there a way that i can overcome this problem without giving up on tilemaps ? should tiles on tilemaps only used statically ?
Your answer
Follow this Question
Related Questions
how to store tile as variable 0 Answers
why is unity set tile not working? 0 Answers
Editing tiles (and tile sprites) at runtime 0 Answers
Correct use of setTile to add tile to Tilemap 0 Answers
How can I access to a tile properties in a Tilemap? 0 Answers