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

?LookVector problem that i don't know how to fix

Asked by
Lunaify 66
4 years ago

So basically, i'm trying to make it so the camera is in a part i made and it's also facing in the part's "forward surface" direction

local A = workspace.A

local Camera = workspace.Camera
Camera.CameraType = Enum.CameraType.Scriptable

Camera.CFrame = CFrame.new(A.CFrame.LookVector)

i know i could literally just do Camera.CFrame = A.CFrame and it would face the part's "forward surface" direction, but in this particular instance i want to use LookVector

1
CFrame(Position,LookVector) ryan32t 306 — 4y

Answer this question