Hi there!
I was wondering whether there’s any way to rotate the player’s camera when they get teleported somewhere? Currently, due to lasting and severely irritating issues with the SpawnLocation class I’ve had to migrate to a custom spawn mechanic that teleports you to where you should start.
When this happens, the camera rotation is seemingly random when the level is ultimately designed for the player to spawn looking forwards. Here is a screenshot:
I’ve tried rotating the SpawnLocation instance with no success, I’ve tried this script in CharacterScripts:
wait()
-- Rotate to look forwards
workspace.CurrentCamera.CameraType = Enum.CameraType.Follow
wait()
-- Return
workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
Again with no success. Whenever I reset the type back to Custom it returns the orientation to this stupid, seemingly arbitrary direction.
Any help would be much appreciated as you can probably tell I’m really annoyed with this whole spawn mechanic right now
Thanks,
-Tom