Unity Gizmos扩展:线框胶囊体 定义(拆解): 如下图,线框胶囊体可以看作由两个平面胶囊体和两个圆组成。 因此画平面胶囊体需要参数: 胶囊体中心位置 P o s C e n t e r Pos_{Center} PosCenter 胶囊体柱体高度 h e i g h t height height 半圆的半径 r a d i u s radius ra