Making cubes parented to a sphere.

:yes:How would you make a script that would make static cubes parented to every spot on a sphere.Could you make an example blend.