![]() StarterGui:SetCore("VREnableControllerModels", false) StarterGui:SetCore("VRLaserPointerMode", 0) Local starterGui = game:GetService("StarterGui") local player = game:GetService("Players").LocalPlayer ![]() ![]() We will also declare the StarterGui service, so we can remove the controller models and replace them with our own little hand models. We also declare the camera, so we can set the HeadSize and set the type to Scriptable. This allows us to use Player.Character without having to wait for it first which is quite ideal.Īt the top of the script we will declare the player and the character. Because we place it in StarterCharacterScripts, it will only start running once the character has loaded. Create a new Local Script in StarterPlayer → StarterCharacterScripts. To start off, we need to remove our player character. There is sadly not a lot of information out there on how to make a VR game, so I decided to make a very simple tutorial on creating VR hands from scratch. Update:FireClient("Teleported", RightHand.CFrame, LeftHand.CFrame, Head.CFrame, CrazySphere.CFrame, LeftHand.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. If part.Parent:FindFirstChild("CrazySphere") then What I am currently usng to teleport it is by changing the CFrame of each part of the vr player to the CFrame of the location I want them to be at. ![]() I’ve tried updating the cilent side with Update:FireCilent but it just says unable to cast value to Object. Whenever I touch the part it only teleports the vr character on the server side, and it also isn’t exactly how I want it to teleport the player, like it messes up the cframe and just piles the vr player into one spot. I would like to make it so whenever a specific part (that being the ball because I am using ball movement) connected to the vr player touches a teleport pad it will teleport them to another part. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |