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())

Source

5 comments

0

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.

0

Then what is VRService for?

0

idk if this will help... But Roblox only has Virtual Reality for mobile devices not computers or laptops.

0

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

0

oh my bad