Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


minDistance

The minimum distance between the bodies relative to their initial distance.
Read time 1 minuteLast updated 4 days ago

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.