Runservice.RenderStepped:Connect(function()Ĭam.CameraType = Ĭam.CFrame = CFrame.new(0,6,0) * CFrame.new(HeadCFrame.Position) * CFrame.As we all know, Roblox has a Virtual Reality system that can be used in order to read Virtual Reality input, and make Virtual Reality games. Local LeftHandMathified = CFrame.new() * CFrame.new(()*HeadScale) * omEulerAnglesXYZ(LeftHandCFrame:ToEulerAnglesXYZ()) Local RightHandMathified = CFrame.new() * CFrame.new(()*HeadScale) * omEulerAnglesXYZ(RightHandCFrame:ToEulerAnglesXYZ()) Local HeadCFrame = VRservice:GetUserCFrame() Local LeftHandCFrame = VRservice:GetUserCFrame() Local RightHandCFrame = VRservice:GetUserCFrame() VRservice.UserCFrameChanged:Connect(function(thing,cframe) SG:SetCore("VREnableControllerModels",false) Local Runservice = game:GetService("RunService") Local Head = Character:WaitForChild("Head") Local LeftHand = Character:WaitForChild("LeftHand") Local RightHand = Character:WaitForChild("RightHand") Local RS = game:GetService("ReplicatedStorage") Local VRservice = game:GetService("VRService") Local UIS = game:GetService("UserInputService") So because of the release of roblox on meta qeust 2 ( and i own a headset) i tried to make a vr game using a tutorial however it is client-sided so i used a remoteevent to send it to the server wich caused remote event exhausting because it has to fire so much how can i solve this? local HeadScale = 1
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |