文档

Unity Engine

Unity Engine

minDistance

The minimum distance between the bodies relative to their initial distance.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public float minDistance { get; set; }

Remarks

The distanced that will be maintained, will be kept between minDistance and maxDistance. Both values are relative to the distance between the center of masses when the Scene was first loaded.