Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I change vector 3 to CFrame?

Asked by 6 years ago

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

1 answer

Log in to vote
0
Answered by 6 years ago

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.
0
Why not just do Part.CFrame? hiimgoodpack 2009 — 6y
0
oh yea lmao CounterBoy123 53 — 6y
Ad

Answer this question