文档

Unity Engine

Unity Engine

speculativeContactDistance

Get the distance at which speculative contacts will be calculated. This reduces jitter. This value is 4.0f * PhysicsWorld.lengthUnitsPerMeter. Normally this is 2cm.
阅读时间1 分钟最后更新于 25 天前

Definition

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