You’re hiding a widget but showing a root component of an actor. This means that the widget is still hidden when the actor is made visible. A widget and an actor are 2 separate entities with individual visibility settings.
You will need to choose:
either show / hide just a widget
or show / hide the entire BP Color actor
or show / hide a widget component (if you’re using one)
Is the actor using a widget component? How is the widget created?
The widget is set in the BP_Colormenu
Blueprint as invisible, because I
don’t want to show up the widget on
beginplay.
As I said, do not modify the widget in any way. Otherwise we’re back to where we started - you said you, ideally, wanted to operate on the actor only, but now the widget is invisible.
Set the actor to hidden on Begin Play instead. Or simply:
Now it will not show up when the game starts but can be shown with the controller. Its button will the actor - do not that the current button event is for Hovering rather than Clicking - but this may be intentional, for course.
There is still something wrong in my setup. I set the widget in the BP actor to visible and hiden in game. In the editor I now see the widget, not in VR… so far so good.
But the Left grip doesn’t fire up the widget.
Sorry for the questions, I am quite new to Unreal!
Thanks for the quick replies every time. You are my Hero!!
I restarted the engine and it now all work perfectly!!! I am a happy man.
And indeed the engine is in the beginning overwhelming with all those nodes and functions.
But this part I now understand and it will be used in the future…