Keeping UserGui VR panel hidden when not in use?

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
image
(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)

2 Likes

Have you tried changing the Enabled property in the ScreenGUI?

That’s the thing, i don’t have any ScreenGui objects

i did however go into test mode and check the ‘bubble chat’ and ‘freecam’ guis, they are enabled, but disabling them got me no results

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

You will need to change the studio settings to enable hidden files, I think it’s in the studio tab.

1 Like

whelp… it is a DARNED shame i don’t understand metatables in the slightest… but thank you for pointing me in the right direction.

Oh there is no need to understand metatables, you just enable the hidden files in studio

I know, but to make the changes i need, i’d need to look at this code and understand it, which i do not.

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.

1 Like

disabling it just caused more problems.
I have found a solution though…

i just made the cursor invisible. now it’s not a problem anymore.

line 36 of Panel 3D

	Image = "",

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.

Rip, you’re right :T
solution revoked.

anyone else got anything?

Does the panel appear in game?

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,

What is the impact that it has on gameplay?

messes with ray-casting, and draws an annoying white dot that follows your controller.

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).

1 Like

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 :confused: