Physics.CheckSphere 检测球体

static function CheckSphere (position : Vector3, radius : float, layerMask : int = kDefaultRaycastLayers) : bool

Description描述

Returns true if there are any colliders touching the sphere defined by position and radius in world coordinates

如果定义的球体和物体发生碰撞,返回真。球体定义在世界坐标系下。

Page last updated: 2011-4-9