Hey all,
I've got a bunch of lines(edges) that and I'd like to be able to rotate them all to be on the same flush axis. I'm trying to break down a poly mesh into it's edges, and bring each edge with it's points back to the origin, and rotate these edges so they are all facing the same direction. Then use those edges to build on top of, before bringing them back to their original position.
I've been setting up different procedural architecture HDAs for use in my concept art, and I'm trying to make different set ups that take a base grid shape, then uses those dimensions to create buildings. So far I've only understood enough to work with buildings that have edges that are perfectly set on either their X or Z axis. I would love to understand a way to work with rotated faces, and I think this would be a perfect solution
I've found Matt Estelas VEX expression to bring objects to the origin and return them, but I don't know how to rotate them flush to the grid. Any help in doing so would be suuuuper appreciated!
Thanks!