- Home /
Circle collider bigger than it actually is
I have an animation that makes a circle get bigger, then loop. I added a circlecollider2D to this circle, but when the player (who has both a circle collider and a rigidbody2D), comes near, it keeps going up and down without even touching anything, as if there was an invisible padding between the two. Any advice would be appreciated, thanks!
Just switch to scene view when you are ingame and take a look at the acutal size of the colliders. You should be able to see the actual extend of all colliders by selecting the objects holding the collider components.
If that does still show a gap then please post a screenshot and provide information about your projects scale (how large e.g. the playerobject is)
Answer by pigaroos · Feb 01, 2019 at 11:40 PM
The CircleCollider2D on the player was bigger than the player sprite itself. oops
Your answer
![](https://koobas.hobune.stream/wayback/20220612190911im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Moving BoxCollider2d with animation is not the right way? 2 Answers
Can the animation editor create local rotational data? 3 Answers
Collider randomly enabling and disabling for a split second after an animation 0 Answers
Adding animation clips via script 2 Answers
Unity 2D - Polygon collider and Edge collider doesn't work with player animations 0 Answers