Physics.CheckCapsule 检测胶囊

static function CheckCapsule (start : Vector3, end : Vector3, radius : float, layermask : int = kDefaultRaycastLayers) : bool

Description描述

Returns true if there are any colliders touching the capsule defined by the axis going from start and end and having radius in world coordinates

如果定义的胶囊和任意碰撞器发生碰撞,返回真。精灵定义在世界坐标系下。

Page last updated: 2011-4-9