Quantcast
Channel: Questions in topic: "clone"
Viewing all articles
Browse latest Browse all 508

Copying on a circle

$
0
0
I have some object. I want to copy this object *count* times on a circle. Copies must be symmetric depending on their amount. I mean their placing on a circle. So now i have just this: for (int i = 0; i < count; i++) { objCone[i] = Instantiate (obj, new Vector3 (i*dist * xCor, yCor, 0), Quaternion.identity) as GameObject; }

Viewing all articles
Browse latest Browse all 508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>