How to make camera style similar to Loomian Legacy

I want to make a camera similar to Loomian Legacy where you cannot move the camera but the camera will follow the player as they move, can anyone help me with this?

Just fix your camera to scriptable and fix it like for example 20 studs above the player. Or attach a part 20 studs above the player and make the camera that part

How would I figure out the CFrame? Do you have a formula I could use?

No offense but I don’t think he will be able to use this.

To do a scriptable fixed camera as they are describing you need to use RenderStepped
You should do the following inside the RenderStepped event:

workspace.CurrentCamera.CFrame = Player.Character.PrimaryPart.CFrame + Vector3.new(0,20,0)

You also need to set the Camera’s CameraType to Scriptable at the beginning of the LocalScript.

1 Like

Oh wow, oops! Use what khep said, I was not thinking when I wrote that.

Honestly I don’t know what you’re actually referring to in Loomian Legacy because I just played it and while I walk around it’s the default camera stuff. But when you encounter a Loomian it does a cutscene style camera manipulation.

Just put a part at where you want your camera to be and print out the cframe

I believe they’re talking about when you enter a building. Might be wrong though

I was talking about when you are inside a building or a theater, you are unable to move your camera then.

It’s basically similar to what they do in a live show when they create a house scene. They give it no roof but background walls so you can see inside but in the game you create a part that represents the position and rotation of the Camera. Then do Camera.CameraType = Enum.CameraType.Scriptable; Camera.CFrame = Model.CameraPart.CFrame

EDIT:
You could create a house scene without a roof and without front walls.
Create a part, name it CameraPart, anchor it, and place it where you want the camera. Then put it all in a Model. Run this code to test the camera:

local model = workspace.Model
local c = workspace.CurrentCamera
local f = Enum.CameraType.Fixed
local s = Enum.CameraType.Scriptable
if c.CameraType==s then
  c.CameraType = _G.XCT or f
else
  _G.XCT = c.CameraType
  c.CameraType = s
  c.CFrame = model.CameraPart.CFrame
end