Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Circle

Use a circle shape to interpret the PhysicsShape2D geometry.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
Circle = 0

Remarks

A circle geometry type is comprised of a single vertex in the PhysicsShape2D and a PhysicsShape2D.radius. The single vertex represents the center of the circle with the radius defining the radius of the circle.