Unity3D:RayCast碰撞檢測

函數介紹:static bool RayCast ( Vector3 orgin , Vector3 direction , out RayCastHit hitInfo , float distnace=Mathf.Infinity , int layerMask=DefaultRaycastLayers ) ; 第一個參數爲射線碰撞檢測的原點; 第二個參數爲射線檢測的方向矢量; 第三個參數爲o
相關文章
相關標籤/搜索