Hi all. In my ‘for fun’ project I worked on I have to check if collider is completely inside the sphere (explosion). Sphere definition is standart - center point and radius. I know about Physics.OverlapSphere but it returns both: overlapping colliders and colliders completely inside of the sphere.
I know how to deal with mesh colliders, box colliders and sphere colliders. But how can I accurately check capsule collider inside of a sphere or not? I’m a bit disappointed that Unity physics don’t have such a trivial functionality.
Thanks in advance.