- Home /
Question by
unity_0oktonion0 · Jun 25, 2019 at 01:59 PM ·
unity 5collidersize
Why localScale, BoxCollider size and CircleCollider radius are all not in the same units?
Unity in 2d mode
I have GameObject1 with:
Transform localScale = (64, 64, 0)
BoxCollider2D size (0.16, 0.16)
SpriteRenderer sprite [32, 32] pix
- GameObject2 with:
Transform localScale = (1, 1, 0)
CircleCollider2D radius = 15
The question is: why in the world all the sizes are different and why CircleCollider2D of GameObject2 is like 2x larger than GameObject1 sprite?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612203821im_/https://answers.unity.com/themes/thub/images/avi.jpg)