-
rotate gameObjects around another gameObject
about 9 years ago
-
about 9 years ago
For the above mentioned problem what we can do is calculate two distance from centralized object .One that is nearest to that object and another that is far from that object. Now we can maintain two arrays where we kept all those objects with the similar distances .One which have small distance and another which have comparatively large distance.As now we have two arrays containing all together containing 18 objects and there respective position as well.Now start swapping the position from first array element to the one that is next in the array list. In both the arrays differently. Hope this work. Thank You
-
1 Answer(s)