用户工具

站点工具


侧边栏

script:unityengine:classes:capsulecollider:capsulecollider

CapsuleCollider 胶囊碰撞器

class in UnityEngine / Inherits from: Collider

Description 描述

A capsule-shaped primitive collider.

胶囊形状的碰撞器。

Capsules are cylinders with a half-sphere at each end.

胶囊是圆柱体在两端加上半球。

See Also: BoxCollider, SphereCollider, PhysicMaterial, Rigidbody.

Variables 变量

centerThe center of the capsule, measured in the object's local space.
以对象局部坐标空间计算的胶囊体的中心。
directionThe direction of the capsule.
胶囊体的方向。
heightThe height of the capsule meased in the object's local space.
以局部坐标空间计算的胶囊体的高度。
radiusThe radius of the sphere, measured in the object's local space.
以局部坐标空间计算的胶囊球体的半径。
script/unityengine/classes/capsulecollider/capsulecollider.txt · 最后更改: 2016/08/02 05:27 (外部编辑)