Type of Collider use for 2d sprite

Hy Guys. I need to ask a question. I want to add colidder to 2d sprite. I tried box collider and many others. But the result is shown in picture.
I uses 2d physics so collider attacht to it is also 2d so can anyone help me out???
50109-capture.jpg

I guess all know how to fly bird. its straight not lik this… so help me.
Waiting for answers.

What is the actual problem? The image shows the bird is upside down but in your question you talk about colliders. The only actual question you ask is "can anyone help me out???". I'm afraid we can't with this information.

well NoseKills sir. I want to fly a bird as it looks to fly. I used 2D rigidbody, so I can only use 2D collider. Now I use 2D box collider on bird and boxes. The result after collision is shown in pic. The problem is that what type of collider should I use instead of that??? So in this case I need Help...... Waiting for answers...

What IS the result, though? It's not clear what you are trying to say from the image. BoxCollider2D, PolygonCollider, CircleCollider2D... All are viable options.

1 Answer

1

It isn’t really clear what your problem is. But just in case you are getting unwanted rotation, you can disable the rotation in the Rigidbody2D by setting a constraint.

Thanks thats the solution......... Ur welcome...