I’m a complete novice with Unity and programming in general (literally decided to pick it up 3 days ago) so I’m not too knowledgable about the workings of the engine. I’m making a top down 2d game as my first project and I have player movement/animations, floor tiles, and walls all made. For the walls, I made my own pixel art spritesheet and put the different segments in as game objects with box collider 2D and rigidbody 2D. I set the wall objects according to the tile map but don’t know how to make the game objects snap to grid or if that’s even possible, but whenever I play the game the objects seem to shift and reveal cracks between them. Here is a video showing what I mean: - YouTube
Is there a better way to do this? Is there a way to put them in as tiles and attach collider and rigidbody?
i have the same problem but i think if you try to build the project it should be gone, might also be some anti alising thing, you can turn that off in the build settings, and might also be something about a composite collider. hope this helps