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

How would i convert a Vector3 to CFrame?

How would i convert a Vector3 to CFrame?

Looking for my code? There isn't any because i don't know where to start.

3 answers

✓ Accepted answer
local vector = Vector3.new(1, 1, 1)
local cframe = CFrame.new(vector)

You cannot 'convert' a Vector3 to a CFrame because the Vector3 is missing information such as orientation etc. Depending on what your Vector3 stands for, use one of the CFrame functions to construct a CFrame.

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