I turned on Box Collider 2D for the 2D player but the player is still going through objects.
Is there any way to stop this?
If I need to use code, I’m using C#.
Thanks
I turned on Box Collider 2D for the 2D player but the player is still going through objects.
Is there any way to stop this?
If I need to use code, I’m using C#.
Thanks
Try to add Rigid body 2d to blocker object.
the collider2D should not be trigger ,check this,also other objects should have a collider2D . ![alt text][1] [1]: /storage/temp/111420-untitled.png
– PersianKillerDo either of those objects have a Rigidbody?
– TreyHCollider issues are difficult to diagnose as there are several reasons why they might not be working as you'd like. The best bet you'll have of getting assistance is to paste screenshots of your physics collision matrix, player character and its components, and the same for the object you're falling through.
– TreyH