Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


aabbMargin

Get the distance used to expand AABBs in the broadphase dynamic tree, in meters. This allows broadphase proxies to move by a small amount without triggering a tree adjustment. This value is 0.05f * _lengthUnitsPerMeter. Normally this is 5cm.
Read time 1 minuteLast updated 11 days ago

Definition

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