In some VR games you can run a controller along the walls of your rooms so that when you get close to the wall it will warn you. Is it possible in Roblox? I know that you can track the VR headsets position, but imagine asking a player to run their headset along the wall. Sounds kind of weird to me. And say I got the shape of their room, how could I make it so that only when you get close the wall it shows up to you?
Also is there a way to enable VR mode as a developer without a VR headset?
I've found a solution to my problem.
HeadScale = 1
Cam = workspace.CurrentCamera
Cam.HeadScale = HeadScale
local cfRH = VRService:GetUserCFrame(Enum.UserCFrame.RightHand)
RightHand.CFrame = (Cam.CFrame*CFrame.new(cfRH.p*HeadScale))*CFrame.fromEulerAnglesXYZ(cfRH:ToEulerAnglesXYZ())

5 comments
I think what you mean by VR Mode is a VR simulation (kinda like the mobile simulator but VR). I do not think roblox has that.
Then what is VRService for?
idk if this will help... But Roblox only has Virtual Reality for mobile devices not computers or laptops.
on the official Roblox Support website it says "Roblox supports Oculus Rift and HTC Vive." https://en.help.roblox.com/hc/en-us/articles/208260046-Roblox-VR
oh my bad