I'm looking to rotate a gui with a particular point acting as the center of rotation. Unfortunately I don't know how to go about doing this... Here's an image depicting the situation: http://i.imgur.com/xPkPbzL.jpg
Obligatory code:
function rotateFromPoint(gui, x,y, angle) --x,y being the point on the gui (0,0 being corner)
--and here I haven't a clue how to offset the rotation point and all that jazz.
end

1 comment
Good question I thought I saw a image before of a surface gui rotating from a point, I could be wrong though.