- Home /
,Invert one of colliders
![alt text][1] [1]: /storage/temp/196253-block-example.png
Hi, I am making 2d game where I play with unity physics. The game is about dropping different block prefabs from above down and making some type of tower. I need them to have proper physics behaving. Most of the blocks I can do with one or multiple 2d colliders.
But what about this orange shape block? What is the best way to make it alive?
The way I see it: The collision should happened when box collider is hit && circle collider is NOT hit
Is this possible in Unity or is there some better way to make block feel real? I want to drop this orange block on some static circle and get realistic result. Thank you very much,Hi, I am making 2D game where I play with unity 2d physics. Game is about spawning blocks and dropping them down to build some type of tower. So I have multiple different block prefabs and I need them to have proper physics behaving. Most of blocks can be done with one or multiple 2d colliders and they behave very well.
But how can I make this orange block shape with realistic physics behaving? The way I see it is collision should happend only if box collider is hit && circle collider is NOT hit.
Or what is the best way to make this orange block alive with rigidbody2D and 2D colliders?