Hello!
I am currently experiencing an issue with BindToRenderStep, I am trying to make a custom camera, however it wasn’t working. I added some prints and the prints are only appearing twice, and then never again.
Here’s what I have, it’s just a test for now, it’s a local script:
local CC = workspace.CurrentCamera
local HRP = workspace:WaitForChild(game.Players.LocalPlayer.Name):WaitForChild('HumanoidRootPart')
CC.CameraType = Enum.CameraType.Scriptable
--local Cam1, Cam2, Cam3 = CC.CFrame.XVector, CC.CFrame.YVector, CC.CFrame.ZVector
game:GetService('RunService'):BindToRenderStep('Camera', Enum.RenderPriority.Last.Value, function()
CC.CFrame = HRP.CFrame
print('rendered')
end)
Output:
Any help?