Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Capsule

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

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
Capsule = 1

Remarks

A capsule geometry type is comprised of two vertices in the PhysicsShape2D and a PhysicsShape2D.radius. The two vertices represent the centers of the two ends of a capsule shape with the radius defining the circular end radius.