ドキュメント

Unity Engine

Unity Engine

maxDistance

The maximum distance between the bodies relative to their initial distance.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public float maxDistance { 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.