- Home /
Question by
Jishmael · Jan 18, 2014 at 10:31 PM ·
collider 2dinverted
2D Inverted Colliders
My 2D game is based on an array of indoor environments. Im looking to have a simple collider which i can put onto a room which is inverted (Collisions happen on the inside surfaces of the collider) rather than having to create multiple colliders on the outisde. I would appreciate any help. Thank you
Comment
Answer by Eric5h5 · Jan 18, 2014 at 11:13 PM
You can use an EdgeCollider2D to make the shape of the room.
I am using an Edge Collider but is there anyway I can connect 2 vertices that are on top of each other into 1? At one of the edge of my room I have 2 vertices on top of each other to act as an edge. How can I just connect them?