- Home /
Get Tilemap Collider 2D Vertices Coordinate
I am making a field of view visualization. My implementation will be using raycast from character to all vertices within view radius and view angle, and then make a mesh from that. My game uses tilemap collider 2d with composite collider turned on.
After using Physics2D.OverlapCircleAll, how do I get the vertices? And also side question does Physics2D.OverlapCircleAll return both tilemap collider 2d and composite collider 2d?
Another way that might be a possible alternative is using Sprite.vertices. Using that way, how do I get the sprites?
Your answer
Follow this Question
Related Questions
Infinite Tiles but in both directions and despawn 0 Answers
How do I render infinite 2D terrain using the Unity's Tilemap class? 0 Answers
How can I compare two tilemaps by color? 1 Answer
tilemap.SetTile not working for animated tiles 1 Answer
How can I find the name of the tile that I collided with in 2d? 1 Answer