Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


linearSlop

Get the small length used as a collision and constraint tolerance, in meters. Usually it is chosen to be numerically significant, but visually insignificant. This value is 0.005f * _lengthUnitsPerMeter. Normally this is 0.5cm.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public static float linearSlop { get; }