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 change vector 3 to CFrame?

how would i do it???????????????????????????????????????????????

1 answer

It is kinda easy,

If you are trying to convert a part's position (Vector3) to a CFrame then this is what you have to do;

CFrame.new(game.Workspace.Part.Position) --change "Part" to whatever you have named your part

CFrame.new(Vector3.new(100,100,100)) --this is how you would change the Vector3 to a CFrame as well, but it's better off to use CFrame.new(100,100,100) IF you are making a new position/CFrame with Vector3 values.

2 comments

0

Why not just do Part.CFrame?

0

oh yea lmao

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