VR Camera always tilted downwards even when LockFirstPerson CameraMode is used

I’m trying to make a 1st person only vr game, however the camera appears to be locked at a 45 degree angle, as if the 3rd person view is active.

I have tried using workspace.CurrentCamera.CameraMode = Enum.CameraMode.LockFirstPerson with workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable, it just turns out like this.

image

I need the camera to face forward instead of facing down like it does in the screeshot above, my current script in its entirety is;

repeat task.wait() until game:IsLoaded()

local VRService = game:GetService("VRService")
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")

if not VRService.VREnabled then
	Players.LocalPlayer:Kick("Non-VR is not yet supported, please connect your VR headset and relaunch the game.")
end

workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable

Any help is appreciated :slight_smile:

1 Like