Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I offset a gui object relative to rotation?

my primary most wanted way of this is to convert rotation to Udim2 (or Vector2) considering the method for offsetting 3D objects using CFrame.LookVector. I do believe that it is possible to replicate lookvector for cframes in gui I just don't know how, so i'm not looking for the answer "this isn't possible".

That is as far as I know, so any help would be appreciated!

1 answer

As I know you cannot just convert Rotation into Udim2 but you can convert Rotation into Vector3

Here is the coding that worked for me

local Rotation = script.Parent.Rotation
local RotationVector = Vector3.new(0,0,-Rotation)

This discussion is preserved as it was. New answers, comments, and votes are closed.