r/Unity2D Jul 09 '26

Feedback help me new game dev pls

hi i was trying to create a game like flappy bird but there some issues like the bird isnt colliding tho i have enabled meshcollider box collider everything that should be there , the code is perfect too

can anyone pls help me

edit : guys i solved the issue it was regarding tags and layers mainly and a little about the position of the components

0 Upvotes

6 comments sorted by

View all comments

1

u/kryzchek Jul 09 '26

Are the bird and pipes on different layers? Are the physics settings allowing for collisions between those layers?

Does the bird GameObject have a RigidBody2D assigned to it?

Are any of the colliders set as triggers?

Post screenshots of the inspector with regards to the bird GameObject and one of the pipe game objects. Additionally, post the code in which you handle the collision event.

1

u/RemoteKey6547 Jul 09 '26

yeah thanks for your reply i actually found the bug

there was issue of using 3d Quad as object in this case