@Usnul
You can dynamically create a box with rounded edges, then transform it to a capsule, then to a sphere, without re-building of its geometry
Iโve started that theme long ago Round-edged box, Round-edged box 2, Round-edged box 3 These are at the level of a geometry, the current one is at the level of shaders.