I’d like to align pivot to a specific edge on an object. I know I can click “insert+edge click on edge” but I need to script it to apply to hundreds of objects to align to specific edge on each of them.
How can I do this?
I got as far as getting edge + its 2 vertexes, I was thinking the next step would be to get the 2 vertexes world position, or maybe 3 if I use 2 edges… and then align tool to x/y/z/rotate/scale/translate using these 2-3 coords. But I have a feeling I’m overcomplicating it…
Can any1 help out?