View Issue Details

IDProjectCategoryView StatusLast Update
0003734NoesisGUIUnity3Dpublic2024-10-25 11:40
Reporterhendawi Assigned Tosfernandez  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.2.4 
Target Version3.2.5Fixed in Version3.2.5 
Summary0003734: Blocking interaction in the 3D world
Descriptionhi

As I explained the problem here
https://www.noesisengine.com/forums/viewtopic.php?t=3455

This was the solution for me
https://www.noesisengine.com/bugs/view.php?id=3476#c9787

But I would like to clarify that this is not because I want to use VisualTreeHelper.HitTest

The problem occurs when the noesisGUI uses VisualTreeHelper.HitTest to handle click Events
Runtime\NoesisView.cs: "private void ProcessEvent"


In the game when I show, for example, the damage the player received. I do not expect that pressing it will prevent interaction within the game

So there must be additional logic to handle clicks with take account "IsHitTestVisible" true

Since there are developers who use VisualTreeHelper.HitTest as is, to avoid not changing the behavior .. I suggest adding another version of it to deal with click Events events.

Or even add a new setting to override the click event like IsReactable=false with default true To keep the current behavior as it is


In any case, this is important in 3D world games


thank you
Steps To Reproducehttps://www.noesisengine.com/bugs/view.php?id=3476#c9787
https://www.noesisengine.com/bugs/view.php?id=3476#c9787
TagsUnity, worldspaceUI
PlatformAny

Relationships

related to 0003476 resolvedsfernandez WorldSpaceUI Responds to Mouse Enter/Leave But Not Mouse Down 

Activities

hendawi

hendawi

2024-10-07 13:04

reporter  

Screenshot_26.png (36,917 bytes)   
Screenshot_26.png (36,917 bytes)   
sfernandez

sfernandez

2024-10-25 11:40

manager   ~0010056

With this implementation all elements in the UI that are marked with IsHitTestVisible=False will be ignored by Noesis and the mouse events will reach the Scene3D objects.
If you want to use the old behavior just go to NoesisView.cs and comment the define IGNORE_ISHITTESTVISIBLE_FALSE_ELEMENTS at the top of the file

Issue History

Date Modified Username Field Change
2024-10-07 13:04 hendawi New Issue
2024-10-07 13:04 hendawi Tag Attached: Unity
2024-10-07 13:04 hendawi Tag Attached: worldspaceUI
2024-10-07 13:04 hendawi File Added: Screenshot_26.png
2024-10-07 15:15 jsantos Relationship added related to 0003476
2024-10-07 15:15 jsantos Assigned To => sfernandez
2024-10-07 15:15 jsantos Status new => assigned
2024-10-07 15:16 jsantos Target Version => 3.2.5
2024-10-25 11:39 sfernandez Status assigned => resolved
2024-10-25 11:39 sfernandez Resolution open => fixed
2024-10-25 11:39 sfernandez Fixed in Version => 3.2.5
2024-10-25 11:40 sfernandez Note Added: 0010056