What I’ve tried: The circle collider type only works with a perfect circle, not an oval.
The documentation for setCollider heavily implies that you can create an oval by setting the width and height. From the error messages we get, it seems clear that the circle collider type only uses parameters 2-4, and dismisses 5-6.
Am I missing something, and/or is there a backend issue that makes creating an oval “circle” collider impossible to do? Is it an issue only in
“The width of a rectangle collider or the radius of a circle collider. The default is determined by the size of the sprite.”
“The height of a rectangle collider or the radius of a circle collider. The default is determined by the size of the sprite.”
Interesting. I believe you are correct. When you change to circle collider, it dismisses the height and width parameter and only utilizes a singular radius. My interpretation of the documentation was that the rectangle collider is the default (and therefore height and width an option) but a circle collider (with only one argument) can be chosen if you wish to have a smaller collider. But that was just my interpretation. As for the reasoning and further information, you can contact support and they may be able to give you further information.
Just a quick update. I heard from Support. It’s a known issue, and there’s no immediate plans to make a feature change. I did make the suggestion to update the documentation to make this more clear. Below is the response I received from support. Thanks all!