# Circle (Squished Sphere) Collider

Hello,
I have circular object that I want assign a `Sphere Collider` to in order to get more accurate collision with my object.

The problem is I need a sphere that’s sized correctly in X, Y, but fairly flat in Z (i.e. a circle or disc).

### Is there any way to configure a unity sphere collider to do this? Should I use a different collider?

Thanks

I’m not sure why they just don’t let the capsule collider have a slider for “rounded end cap” so you can change how far the rounded end cap sticks out… 0 would be a flat disc and ~1 would be how the capsule collider looks now.

As it is now, you are forced to either combine a bunch of sphere / cube colliders which gives wonky results or use a mesh collider which will perform worse and not collide with other mesh colliders unless you have “convex” checked, which decreases performance even more.

By wonky results I mean if you try to stack a bunch of cube colliders on top of each other (each one roughly the size of the disc and rotated by ~20 degrees), the friction and collision does not behave the same as if you just have a single collider. Somehow the stack of colliders is breaking it.

I did not try creating a disc out of cube or sphere colliders that do not overlap. That might be worth a try. I am happy using a mesh collider (for now).

Yes. A sphere collider is just a visualization for checking collisions in a certain radius; unfortunately, you can't constrain it to certain axes. There is no primitive collider for this shape; decide how accurate you need the collisions: it may be that you can use several capsule colliders rotated around a single vector, but most likely, a mesh collider is what you need.

cylinder is best i think

I seemed to just shape a cylinder how i wanted. Remove the collider; then add a mesh collider. Probably a performance hit but seemed to work.

Since this is what comes up in google, Just thought I would make this .gif to explain a possible, decent, solutionit for others who land here.

Try wheel collider, Ive never personally used it but it might be what your looking for. Or try making it the shape you want in your 3d moddeling softwear then find it in unity and select add colliders or some thing. Its in inspector when you have it selected out of your hiercy. Push apply then BOOM! you have a collider fit for exactly the shape you have!?!?!