Is there a way to keep the UserGui VR panel completely unused when you don’t want it showing up.
I’m trying to make a VR fps game, and anytime I aim in the direction of where the usergui should be, i get this
(the white dot is all you see in gameplay)
I tried just deleting it when it spawns, and deleting it after a short wait, both methods either throw massive errors or just don’t work.
I’d set the parent folder to nil, but then i get no settings menu (which i kind of need)
any advice? (Aside from "don’t make vr games, vr is dead)
You can edit the core scripts to remove or move the VR panel, or if this panel is unremovable, then try make the gun ignore the panel by using a filter on the raycast or hit detection. I think the panel doesn’t appear in a live game, only in studio.
all the raycasting already ignores the stuff in camera anyway.
how do I go about editing the core scripts for this? I can’t find the scripts in explorer
Oh ok I understand what you mean now. You can remove the VR panel module and see if that works, you can find it using the studio explorer search box, be sure to just disable it and not delete it.
CoreScripts can’t be edited nor opened in the Studio view. Changes to ModuleScripts in CoreGui will not save either. This is definitely not what you want to look for.
yeah, when you move the VR controller to face a certain spot, a part is added to a folder in the camera.
I’ve tried to disable it by hiding that part, or moving it. but it throws a ton of bugs,
Ok, there’s a function in StarterGui I think which allows you to disable/enable CoreGui. Have a look through it, I think it’s called SetCoreEnabled. You may want to double check anyway.
This with a few modifications(you want it to show the settings menu and you probably don’t wan’t the UserGui panel gone when you want the player to buy a gamepass/dev product) could work.
Note that if you’re talking about the Roblox setting menu, this probably does not work(and is probably impossible).
Well, it throws a bunch of errors, but… what other choice do i have :t
Can’t have a shooter game where things get in your line of sight seemingly at random