ViveSoftware / ViveInputUtility-Unity

A toolkit that helps developing/prototyping VR apps.
http://u3d.as/uF7
Other
357 stars 82 forks source link

UI elements work or not depending on the angle #160

Open dpggit opened 4 years ago

dpggit commented 4 years ago

I realized UI some elements work or not depending on the angle they are seen , if the element is too high i see they stop working and the viu blue ray doesnt affect them

chengnay commented 4 years ago

@dpggit Any screenshot or video? image I tried with 16meter high, it seems to work.

You can try editing the distance yourself, image

dpggit commented 4 years ago

i have sent you a video to your mail

chengnay commented 4 years ago

@dpggit From your video, it actually hits something. Could you double check your scene view whether there is a layer blocking in front of that General Settings tab? In your scene view, image You can check the hit target, and there are 2 different color for GuideLine, when it hits target it will show green, if not, it will show red. image image

dpggit commented 4 years ago

That is the first i checked, also disabling other image raycast around and just leaving the button but nothing worked, i will keep looking if i missed something

dpggit commented 4 years ago

I am having also problems with the drag depending on the angle, when i drag a panel window ui to the left or right too much it works meanwhile i hold the drag but when i drop it and try to drag again i cant drag it again

chengnay commented 4 years ago

Could you provide a short video includes Scene, Game and Hierarchy views? Thanks!

EDIT: I tested with VIU's example scene, 2DDragDrop, it will not have the issue you mentioned.

dpggit commented 4 years ago

I already sent you the video. I have also problems with OnDrop method is not being called, the OnDragEnd is called but not the OnDrop sometimes

dpggit commented 4 years ago

Finally i just bought an asset in the Unity asset store called Curved UI - VR Ready Solution and vr input work perfectly, i have spent many days trying to make it work VIU without success i am spending much more time with Steamvr and VIU than making my game