EKsumic's Blog

let today = new Beginning();

Click the left button to use the catalog.

OR

[Unity]CapsuleCollider.radius是什么?

胶囊碰撞体的半径是什么?

 

Description

The radius of the sphere, measured in the object's local space.

The capsule's radius will be scaled by the transform's scale.

 

官方文档描述中说:

是球体的半径,是由物体的 local space 决定的。

并且半径的大小和胶囊体的大小有关。

 

实际上,这种描述,远不如一张图来得直接,

 

一张图解释:

radius

 

参考文档:

[1] 胶囊碰撞体 - Sun‘刺眼的博客

[2] Unity官方文档 - CapsuleCollider-radius

This article was last edited at 2020-04-08 03:03:55

* *