Version: 2022.2

描述

Use a capsule shape to interpret the PhysicsShape2D geometry.

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.