[Unity]CapsuleCollider.radius是什么?
Copyright Notice: This article is an original work licensed under the CC 4.0 BY-NC-ND license.
If you wish to repost this article, please include the original source link and this copyright notice.
Source link: https://v2know.com/article/242
胶囊碰撞体的半径是什么?
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 决定的。
并且半径的大小和胶囊体的大小有关。
实际上,这种描述,远不如一张图来得直接,
一张图解释:
参考文档:
[2] Unity官方文档 - CapsuleCollider-radius
This article was last edited at 2020-04-07 18:03:55