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

How do i turn a CFrame orientation into Vector3?

Asked by 3 years ago

Simple question. I need to get the CFrame orientation in a Vector3. I tried doing this:

local orientation = CFrame.LookVector

but it seemed to point only forward with a very small dent in other directions.

0
I think you need to be more explicit in your question. What do you actually mean by converting a CFrame orientation into a Vector3? Vectors are used for storing positions and directions, one vector cannot fully represent the orientation of something. 123marble 61 — 3y

1 answer

Log in to vote
3
Answered by 3 years ago
Edited 3 years ago

local orientation = Vector3.new(CFrame:ToOrientation( )) not sure why you would want this tbh

Ad

Answer this question