I have a piano keyboard, so there are 88 individual keys. Unfortunately, I left the origins in the centers of each key. As a result, I can't rotate them properly. I could go through each one and manually correct each key, but that would be a huge pain. Is there a way to set them all at once? (I only need to move the x location on each key, in case that makes a difference).
you could use the same technique as above but instead of doing it to each key individually you could use the Multi Edit addon and shift the geometry of your keys then counter the movement in object mode.
Also back up your scene before you try the addon (still in Alpha stage) just to be safe.
- Select all your piano keys.
- Set your 3D cursor to the location where you want your point of rotation.
- Object -> Transform -> Origin To 3D Cursor
That will set the origin for all the piano keys at once.
You can also move the objects in object mode, then counter the movement in edit mode, This probably won't be less work, but I'm adding this for the sake of completeness.
A Gif showing the process.