Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


speculativeContactDistance

Get the distance at which speculative contacts will be calculated. This reduces jitter. This value is 4.0f * _lengthUnitsPerMeter. Normally this is 2cm.
Read time 1 minuteLast updated 10 days ago

Definition

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