I was wondering how to transform a rightVector, upVector, and a backVector to a CFrame. You Know when you do CFrame:components(), you get R00, R10, R20, R01, R11, R21, R02, R12, and R22. And you can make them vectors. For example, rightVector, Vector3.new(R00, R10, R20). Anyways, is it possible?
COMMUNITY QUESTION
How can I transform a unit vector to a CFrame? E.g. CFrame.new(rightVector, upVector, backVector)
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

6 comments
CFrame:components() returns the individual components that make up the cframe matrix. Similarly, there is a constructor for CFrame that takes in the individual components of a matrix and returns it. Just use that constructor.
You can check the wiki for CFrame to see all the constructors, but if you have the vectors, don't you already have the CFrame you can just copy? But yes, that info you have is enough to calculate a CFrame, given you know what position you want.
Yeah, but I'm just asking is there a way to do it other than writing down CFrame.new(1, 2, 3, 4, 5, 6, 7, 8, 9)?
True, but that's what I'm asking.
Is there any reason you don't want to use the function that's meant for this use case? It's like asking how to write text to the output without using print()
Also by asking this question, I'm also asking how they turn the matrix to just three numbers.