Camera Rendering Issue?

I’m making a game in which a player gets hit down a long hallway, I would like other players to be able to view the player getting hit.

I went about this by changing each players camera type and subject to watch the player being hit, as seen below:

changeCam.OnClientEvent:Connect(function(hitChar)
	cam.CameraType = Enum.CameraType.Watch
	cam.CameraSubject = hitChar.Humanoid
	
	print("Cam changed to view:", hitChar)
end)

However, it seems like the player getting hit flies out of the “render distance” of the player’s watching and it stops following them and just kind of leaves them looking at this.

I’ve tried looking this stuff up on the dev forum, yet, couldn’t find anything. All I really found for info was someone talking about how it renders based off of the camera’s subject, which is seemingly just not true considering my existing code and current problem.

Help appreciated, thank you!

1 Like

Commenting to bump the post! ~~~~

1 Like

it should be

cam.CameraType = Enum.CameraType.Custom

or
just delete that line

Got it working, just disabled streaming enabled

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.