Unity3d代碼創建空心圓柱體

代碼創建空心圓柱體 算法實現 public GameObject CreateHollowClinder(Vector3 ptStart, Vector3 ptEnd, float innerRadius, float outterRadius) { //計算垂直於軸的起始向量 Vector3 vec1 = ptEnd - ptStart;
相關文章
相關標籤/搜索