If you're interested in creating your own 2D Colliders with complete control over what shapes are in them then you might find this feature in 2021.2 beta very useful. You can also read the low-level shape geometry from any existing 2D Collider. This will also form the basis for other features moving forward that intend to expose as much as possible for the classic 2D physics engine. https://forum.unity.com/threads/2d-physics-in-unity-2021-2-beta.1149104/