- Home /
Question by
capucinebuddy · Jun 29, 2018 at 07:26 PM ·
collider2druntimetilemaptiles
Tilemap Collider 2D not being created at runtime
I am making a game which involves tiles being built in runtime (walls, fences, etc). I have a tilemap for tiles such as ground tiles and a tilemap which has a Tilemap Collider 2D attatched. If I draw in my wall tiles before-hand with the tile pallet the collider works fine but when I use wallMap.SetTile(location, wallTile) a collider does not appear to be added.
Any ideas?
Thanks
Comment
looking up Unity Forum threads sometimes helps:
https://forum.unity.com/threads/runtime-generation-and-tilemap-collider.449530/
So there is not anyway to do this without recreating the whole collider as I have read that article?