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

Camera ignores CameraSubject being set?

Asked by
drew1017 330 Moderation Voter
8 years ago
RS = game:GetService'RunService'
started = false

workspace.REcamera.OnServerEvent:connect(function(player)
    print'recieved'
    started = true
end)

RS.RenderStepped:connect(function()
    if started then workspace.CurrentCamera.CameraSubject = workspace.Part
    print'camera rendered' end
end)

NOTE: CharacterAutoLoads is false. This is for my custom character engine.

This is a LocalScript.

Both prints print, but plain and simple, the camera is still freeroam and not locked to the part at all. halp

Answer this question