- Home /
The question is answered, right answer was accepted
Tilemap Collider question.
I was wondering if there was a way to make the tilemap collider a bit more precise. I have a wall corner that was a weird collider shape on it and don't know how to fix it other than manually making a sprite specifically for that problem. Here is the issue
Answer by adscott1982 · Dec 10, 2017 at 10:15 PM
I had a similar problem. Turns out you can edit the collider, you need to make changes to the original sprite. The following blog post provides the details:
https://www.aetherpoint.com/blogpost/editing-the-unity-tilemap-collider-2d-box/
This works in my case, thank you so much! (And the poster should've chosen you for answer.)
any idea how I can remove the collision completely from a tile? Can move the 4 points around but I can't seem to delete all the points. If I press delete points disappear but as soon as it gets to 2 points Unity puts 4 points back in
Imagine I have just 2 tiles. Grass and Rock. I want the grass to have no collision the rock to have a solid collision
Not sure, but I guess a solution would be to have the grass and rock tiles be part of different tilemaps. One tilemap you set to have a Composite Collider, and the other not.
Answer by Pepozoo · Oct 21, 2017 at 01:00 AM
Seems like you can't edit the colider like the Box Collider 2D, but if you want the collider to be the same size as the cell in the Grid, you can go to your Tile and change the "Collider Type" to Grid.