- Home /
Stray tilemap collider being weird, won't erase
I have a tilemap with a Tilemap collider 2D and Composite collider 2D, which seems to be working fine except I have one rounded corner tile that isn't generated as a rounded bit, like so:
which I thought might be an issue with my tileset, but if I remove all of my tiles the corner bit annoyingly remains, like so:
I have tried setting the generation type to Manual and regenerating it. Am I doing something wrong or is this a bug? How do I fix it?
Answer by narasu · Apr 23, 2019 at 09:07 AM
Thanks for the suggestions! I haven't actually had any issues since I erased and rebuilt my level. Z coords and physics shape all seem fine.
Answer by lk_clip · Apr 17, 2019 at 08:06 AM
Check that tile's physics shape in its sprite settings. That may be the issue
Answer by LilGames · Apr 16, 2019 at 03:01 PM
It may have been pasted in with a different Z coordinate.
Answer by hjc_ · Sep 04, 2020 at 08:56 PM
For future readers, I was able to fix this (ghost colliders hanging around and not updating after changing the physics shape) by going to the Tilemap object in the grid that used to contain the tiles I deleted and toggling the Tilemap Collider on and off. This also updated all physics outlines I had manually changed.
Your answer
Follow this Question
Related Questions
The tilemap collider is simply not working 0 Answers
Modular Room System Similar to Mega Man 0 Answers
Tilemap collider doesn't appear 1 Answer
Tilemap collider 2D problem. 0 Answers