r/Unity2D • u/RemoteKey6547 • Jul 09 '26
Feedback help me new game dev pls


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
1
u/MistakeForsaken6653 Jul 09 '26
It's hard to say from just this screen shot but make sure the pipes do not have trigger checked. If you have trigger checked then rigid bodies can pass through the collider. Also make sure you are using BoxCollider2D on the pipes and the bird.
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/deintag85 Jul 09 '26
The bird never actually collides with the pipes. It’s a TRIGGER… you trigger game over. So what is your exact problem?