资源类型Shape2DCapsuleShape2D本页总览CapsuleShape2D继承Shape2D简要描述2D碰撞的胶囊形状。描述2D碰撞的胶囊形状。成员类型属性名默认值floatheight20.0floatradius10.0成员说明float heightDefault20.0setterset_height(value)getterget_heightfloat radiusDefault10.0setterset_radius(value)getterget_radius