LOFTER for ipad —— 让兴趣,更有趣
(译为:物理.球体投射)
例:
Physics.SphereCast(this.transform.position, 0.15f, dir, out hit, 0.2f)
Physcis.SphereCast(Vector3类型 球体扫描开始的中心,float类型 球体扫描的半径,Vector3类型 球体扫描的方向,RaycastHit类型 球体扫描碰撞的信息,float类型 球体扫描的最大距离)