Hi everyone!!
I started a project with the default VR template provided by UE. I have the line pointer working with HTC Vive controls, and I just created a 3D widget with a couple of buttons and text box that is instanciated from the beggining of the app.
One of the buttons, when is pressed, has to spawn an object. An object that previously was typed in the textbox (I type the class and it appears). I have this working in firstpersoncharacter mode. But when I use a 3D widget, that was created from a blueprint that has a widget into it. I just can’t call the event dispatch.
In the level blueprint (in another project with firstperson mode, and using single widgets, it works), the widget is initiated from the beggining of the app, so I can access directly to its instance (the return value from Create Wdg_Tabbar that connects with Bind Event to MyEvent):
But working with a 3D widget I got a warning that says I can’t get the widget propoerty from the 3D widget (that is called vrmenu).
The following is the 3D widget (vrmenu) that was created from a BP class and contains a widget class named as wdg_tabbar:
So, any suggestions? I just want to get what is in the text box in order to spawn an actor but called from the level blueprint (because I have my algorithm on it)