You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? working VR Hands
-
What is the issue? The Spheres I put in the folder Hands are not showing on the VR screen for my friend
-
What solutions have you tried so far? I’ve been looking for the developer hub and my friend who testing it with the Oculus Rift said the spheres are not showing
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
LocalScript in StarterCharacterScripts
local VRService = game:GetService("VRService")
local UserInputService = game:GetService("UserInputService")
local CurrentCamera = workspace.CurrentCamera
if VRService.VREnabled == true then
print("this chad has vr")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Hands = ReplicatedStorage.Hands:Clone()
local RHand = Hands.RightVRThingy
local LHand = Hands.LeftVRThingy
Hands.Parent = script.Parent
LHand.CFrame = (VRService:GetUserCFrame(Enum.UserCFrame.LeftHand))
RHand.CFrame = (VRService:GetUserCFrame(Enum.UserCFrame.RightHand))
game:GetService("RunService").RenderStepped:Connect(function()
LHand.CFrame((CurrentCamera.CFrame * VRService:GetUserCFrame(Enum.UserCFrame.LeftHand)) * CFrame.Angles(0, math.rad(180), 0))
RHand.CFrame((CurrentCamera.CFrame * VRService:GetUserCFrame(Enum.UserCFrame.RightHand)) * CFrame.Angles(0, math.rad(180), math.rad(180)))
end)
else
print("no vr haha look at this noob")
end