- Home /
Question by
Sborra · Nov 09, 2014 at 05:28 PM ·
createprocedural-generationcollider 2d
Collider outline from 2d map
So I have procedurally generated maps that creates maps like this, it outputs to PNG:
So i want to import this into Unity and create a 2D collider outline around the white in the texture, any ideas?
map.png
(61.6 kB)
Comment
If this is a maze walking thing, rather than colliders, consider reading pixels from the texture.
Your answer
Follow this Question
Related Questions
(2D) Creating a border around the game 4 Answers
Collider2D and Z-Axis 0 Answers
one way collider platform unity2d,One-way collision on tilemap collider not working 0 Answers
How I can create a cube using vectors? 1 Answer
CREATING A TERRAIN 3 Answers