Capsule
Use a capsule shape to interpret the PhysicsShape2D geometry.
阅读时间1 分钟最后更新于 21 天前
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.