Hello there,
I’m currently trying to display a Character in workspace in a Viewport Frame.
Though, the Camera is zoomed out a lot and so the Character is very tiny.
I’m struggling to find out what I did wrong.
Summary
The Code:
local Character = game.Workspace.Dummy
local ViewportFrame = script.Parent.ViewportFrame
Character:Clone()
Character.Parent = ViewportFrame
local viewportCamera = Instance.new("Camera")
ViewportFrame.CurrentCamera = viewportCamera
viewportCamera.Parent = ViewportFrame
viewportCamera.CFrame = CFrame.new(Vector3.new(0, 0, 0), Character.HumanoidRootPart.Position)
I’ve tried changing the Vector Numbers but that results in it zooming out even further
PS: I’m quite new to scripting
Anyone able to help me? Thanks!