Manual     Reference     Scripting  
  
Scripting > Runtime Classes > Physics   

Physics.CheckSphere  

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

Description

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