Getting start point and end point of a Frame

Hello, I would like to get the start and end point of a Frame even when it’s rotated
example:
Untitled

I already tried by using sin and cos of the frame’s rotation and then multiply it by half the length of the frame, but it’s not working. Any help?

A not elegant way I would do to achieve this, is adding 2 frames inside the main Frame, one at the Starting point of the frame and one at the Ending point, even if the main Frame is rotated, those Start/End frames would contain the position of Start and End of the main Frame. Lazy to do the math, would depend on the rotation angle and the lenght of the Frame yes, surely theres a more elegant mathwise solution xD but for me adding the frames would be a quick fix

Oh ty for the answer, I just messed up the rotation of the frame and so it didn’t work :wink:

1 Like