Geting Colliders Panetration

Hi,

How can i get amount of colliders panetrations?

thanks.

Use Collider.ClosestPointOnBounds to calculate the distance from your penetrating object to the nearest edge of the collider. The documentation has a good example of how to do this.