Hi all!
I have a generic sphere as a prefab in the library called “Sphere”, What would be the best way to display multiple spheres in the scene divided equally around a circular path?
I’m using C#
Any ideas?
Hi all!
I have a generic sphere as a prefab in the library called “Sphere”, What would be the best way to display multiple spheres in the scene divided equally around a circular path?
I’m using C#
Any ideas?
Well, you’d use basic trigonometry to determine the positions on the path. Then you’d need to have a reference stored of the prefab, and you could loop through the positions and call instantiate on the prefab, then place the resulting scene instance in the correct position.