Hi guys so, I want to try and experiment with something, but this method of mine relies on switching to a different camera object.
In this screenshot, there are 2 camera objects, the “Camera” being the default camera of the client/player, and the “FPSCam”, where it’s following the player’s head every frame.
I’m using the “Camera” to spectate the player via this line
– SPECTATING the current player
Camera.CameraSubject = player.Character
and while the player is spectating the other player, there’s a feature on top of this I’m working on, where if the “Camera” is near the player (< 5 Studs) then camera perspective will then switch to the “FPSCam” object, and if the camera is far from the player (> 5 studs), it will return it’s perspective back to the “Camera” object.
I’ve been doing some API research with regards to this, but nothing’s popping up, I would like to inquire if this method of camera switching perspective from one camera to another camera object is possible in roblox?
FYI: these 2 camera objects are present on the local end.
Thanks.