用户工具

站点工具


侧边栏

script:unityengine:classes:spherecollider:spherecollider

SphereCollider 球体碰撞器

class in UnityEngine / Inherits from: Collider

Description 描述

A sphere-shaped primitive collider.

球形的原始碰撞器。

See Also: BoxCollider, CapsuleCollider, PhysicMaterial, Rigidbody.

Variables 变量

centerThe center of the sphere in the object's local space.
在该对象的局部坐标空间球体的中心。
radiusThe radius of the sphere measured in the object's local space.
基于该对象的局部坐标空间,球体的半径。
script/unityengine/classes/spherecollider/spherecollider.txt · 最后更改: 2016/08/02 05:29 (外部编辑)