So say you have a part that’s flipped sideways, and the top facing normal corresponds to its Z face, but normal vector is ~(0,1,0), so it would get the (X,0,Z) size, but that’s corresponding to the part’s top face, and I want the size of its Z surface, which is (0,1,0).
So yeah it’s just an example and don’t give me some hacky solutions based only around this solution, I just want to know how to get the size of a surface of the part, no matter its orientation.
I have a part that is sized (50,40,0) and is rotated (90,0,0). When I’m hovering over the top side, with normal (0,1,0), I expect the function to return (50,1,40). Instead, what it returns, is still (50,40,0).
In other words, it would be as if to lay one part on top of the face of the other, rotated (0,0,0), and sized (50,40,1), it would encompass the entire surface of the latter part which I am hovering over, yet having the rotation of (0,0,0), whereas the latter part would have the rotation of (90,0,0)
The part in red would be the part which I have given the example that it would encompass the surface my mouse would be hovering on. It has the size (50,1,40) and rotation (0,0,0) and is positioned 1 stud above the part with the decal on it.
The decal on the part with the decal on it is facing its front side, and its size is (50,40,1), and is rotated (90,0,0).
In another visual analogy, I want to find the hypothetical size of this red part with its decal facing top. which in this case, would be (50, 0.001, 40)