- Home /
I want to get the width of a part of a TilemapCollider2D. Explained with image inside. Help!
I am using a prefab brush to paint simple monster spawners. They check the platform below them and I want to use the with of these platforms to spawn monsters. I recently started using Tilemaps but now I need to find out how to get the width of only a part of the TilemapCollider2D, I think.
I am using a composite collider on this as well.
I explained what I want in the picture below. The monsterspawner(blue potion), sees that there is a platform below it. Next, it needs to know the position and/or width of the platform to know the range of spawning on it.
Again, I am using a tilemap, I am not even sure if it's possible, so that's why I'm asking! Thanks.
Your answer
Follow this Question
Related Questions
The tilemap collider is simply not working 0 Answers
tilemap collider2D is it possible to "walk" inside composite collider (pictures to explain) 2018.1 0 Answers
Tile collision by sprite is not accurate with Tilemap Collider 0 Answers
2D Tilemap increase custom Brush size 0 Answers
How to create an event for a specific role on a tilemap. 0 Answers