Hi!
I don’t understand the explanation of the node Is Over Hit Test Visible Widget:
if a widget under the hit result is has a visibility that makes it hit test.
What is “the hit result”?
And “makes it hit test”?
Thank you.
Hi!
I don’t understand the explanation of the node Is Over Hit Test Visible Widget:
if a widget under the hit result is has a visibility that makes it hit test.
What is “the hit result”?
And “makes it hit test”?
Thank you.
Just making the cursor interactable
For example, let say you have 2 widget in your canvas
Canvas
– Button
– Image
The image is semi-transparent and is covering the whole canvas, if you make it Visible, you can’t click on the button since the image is giving priority to receive mouse click interaction, but if you make it Visible+NotHitTestable, now you can click on the button.
This is the code that I don’t understand:
Widget Interaction Component
inherits fromUSceneComponnet
and is:
This code is part of the VR Template Project.
Thank you, but what is “the hit result”? Is it a laser? A trace channel? Is a collision? I have this questions because this code is part of the VR template project and I’m not sure if the player is “physicaly” touching the widget or there is some distance between the VR controller and the widget.
Am not sure for a vr context but it should be similar to when the user mouse over that widget component, it will return true.
A widget interaction will act as a mouse hover
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.