The minimum contact penetration radius allowed before any separation impulse force is applied. Extreme caution should be used when modifying this value as making this smaller means that polygons will have an insufficient buffer for continuous collision and making it larger may create artefacts for vertex collision.
Physics2D.minPenetrationForPenalty = 0.01f;
using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { void Example() { Physics2D.minPenetrationForPenalty = 0.01F; } }
import UnityEngine import System.Collections public class ExampleClass(MonoBehaviour): def Example() as void: Physics2D.minPenetrationForPenalty = 0.01F