I want to write a function that rotates the selected elements in the same angle, but each on their own axis of rotation.
I tried iterating through each of the api_neigs of the selected elements, and getting their corresponding element instance, from which i take the objects position. It seemed to work alright
The problem is i can't get them to rotate, each on on a different pivot. The edit function doesn't work when i try to insert each to a new neig array. Maybe i didn't instantiate the arrays correctly.
Could someone help?
Thanks a lot!!!