- Home /
How to combine sprites and make 1 collider for them
I have 5 sprites, they are pieces of the background. I sliced it because unity makes the background as 1 piece looks bad. I want to combine that pieces and add a polygon collider to them, so my game object could walk in that background and couldn't fall through it. However, I don't want to add a collider for each sprite, cause it will lead to technical problems with productivity. I really hope u, guys, help me.
Answer by Hachley · May 08, 2014 at 10:23 PM
You can create an empty game object with as big collider as you want, and nesting(parenting) those 5 sprites inside it, so that the sprites are its children.
but when I made that, all I got was a small 5-point polygon collider. So i need to manually make a huge collider. But when I made a polygon collider to a 1 sprite, it was automatically made, there was a huge complete collider.
I'm struggling with the same issue. Did you figure out what was happening?
Your answer
![](https://koobas.hobune.stream/wayback/20220613144558im_/https://answers.unity.com/themes/thub/images/avi.jpg)