Documentation

Unity Engine

Unity Engine

PI

Get the value of PI used internally by the physics system. Using this will help with determinism.
Read time 1 minuteLast updated a month ago

Definition

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