#Why is my camera a not in a 90 degree angle ?

1 messages · Page 1 of 1 (latest)

ivory pawn
#

Some infos:
The whole area has the right orientation and is not diagonal and i don't know why the camera is diagonal

this is the script:

local Camera = workspace.Camera
local StageFolder = workspace.Stage

local Tweenservice = game:GetService("TweenService")
local TweenInfo = TweenInfo.new(0.5,Enum.EasingStyle. Quart, Enum.EasingDirection.InOut,0,false)
local CameraTween = Tweenservice:Create(Camera, TweenInfo, {CFrame = CFrame.lookAt(Vector3.new(12.1, 7.8, 16.8), Vector3.new(-90,0,0))})

StageFolder.ChildAdded:Connect(function()
Camera.CameraType = "Scriptable"
CameraTween:Play()
end)

#

The File is a video File so you know how it looks

plucky ocean
#

You want to set the camera type to scriptable first

#

Is this a local script or server?

ivory pawn
#

local script

plucky ocean
#

Ok good

ivory pawn
#

I tried to make a little cutscene

timber flax
plucky ocean
#

Just remove the StageFolder.ChildAdded and put the Camera.CameraType at the start of the script.

plucky ocean
ivory pawn
#

ok but i want the player to be able to use his cam like the normal player cam first

#

ty btw for the help already

#

ima try it rq

timber flax
ivory pawn
#

but how do i use current camera ?

plucky ocean
uneven oasisBOT
#

studio** You are now Level 2! **studio

plucky ocean
timber flax
ivory pawn
#

ah ok t<

#

ty

#

i have tried it, it seems not to work right, it is still diagonal after the tween had played

#

i have noticed something

#

I just have changed it back to just workspace.camera and somehow the camera has the y rotation set to 80.656 instead of 90