- Home /
Collision/scripting for tiles
I'm using the tilemap system in Unity and wondered if there's a way to use tiles and writing code for collisions on those tiles.
I want to draw trees with the tile brush/editor, then when a player collides with them perform an event. It seems like you can do this with normal 2D objects, but I'm yet to find anything with this approach.
I looked at custom tiles, but unless I understand correctly, the custom tiles don't have access to things like collision information.
I also looked at custom brushes, but it seems like it's a bit overkill for the whole situation.
Some advice would be greatly appreciated,
Thanks!
Your answer
Follow this Question
Related Questions
Confused about ITilemap interface and concrete tilemap classes 0 Answers
Animated Tile control 0 Answers
Tile palette not functioning properly 2 Answers
Array of Tilemaps misbehaving 1 Answer