Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


density

The fluid density, used to compute the Archimedean buoyancy force per submerged unit area. Clamped to a lower bound of Mathf.Epsilon.
Read time 1 minuteLast updated 11 days ago

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public float density { readonly get; set; }