I’m making a VR game, and have run into the issue of adding custom movement. I plan on using the left trigger to move, and I’m using a BodyGyro to turn the real character where the vr player’s head is facing. Problem is that people can just use the thumbstick, which doesn’t work with my BodyGyro.
Help, maybe?
Thank you!
The thumbstick movement is “Teleport” movement, right?
No, you don’t teleport, as you are in Third Person while in normal VR, you walk as if your using a controller
Hey @infiniteRaymond!
I actually have a dump script I made with the help of a lot of other forum posts like this one a while ago.
Basically this will disable all default VR functions.
local StarterGui = game:GetService("StarterGui")
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
game.StarterGui:SetCore("VRLaserPointerMode", 0)
game.StarterGui:SetCore("VREnableControllerModels", false)
local playerModule = require(game:GetService("Players").LocalPlayer.PlayerScripts:WaitForChild("PlayerModule"))
playerModule:GetControls():Disable()
local VRFolder = game.Workspace.CurrentCamera:WaitForChild("VRCorePanelParts", math.huge)
spawn(function() while true do pcall(function() VRFolder:WaitForChild("UserGui", math.huge).Parent = nil end) end end)
I really and genuinely couldn’t tell you how most of this works, I just know that it does when placed into a localscript!
Hope this helped!
3 Likes
Thank you so much! I did so much googling and found nothing, but this helped! Thank you so much!
Also, thanks for giving me some info on how I would disable the topbar, it’s genuinely annoying.