Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: andycoke on November 06, 2017, 09:08:39 AM
-
I've downloaded the uGuiVrGazeButton from the Ecosystem and it works great if I'm just using the mouse pointer. Now I'm trying to use it with a Oculus headset, either with a standard camera or on a Oculus camera rig but it's not quite working, the Raycast is not centre to the camera, it ends up hitting somewhere below centre.
I don't fully understand the 'Rect Transform World to Screen Point' action and how the Screen Position relates to the Camera in World space.
Can anyone help?
Thanks in advance.
-
Hi,
Yes, there is a difference with the VR camera, I am trying to find where it was discussed before, another member solved this problem some time ago.
I'll post as soon as I find the post.
Bye,
Jean
-
Hi,
have you checked this thread: http://hutonggames.com/playmakerforum/index.php?topic=14466.msg67609#msg67609
Bye,
Jean
-
Thanks Jean.
I've had a look at the other post but it doesn't seem like it was resolved. I'm still stuck on this so I've you've any more thoughts it would be a great help.
-
Hi,
Yeah, I need to work on this indeed. what version of Unity and what gear do you have?
Bye,
Jean
-
Hi Jean, I'm using Unity 2017.2 with a Rift.
Thanks
-
Hi,
ok, I'll see what I can do.
bye,
Jean
-
Hi,
ok, I'll see what I can do.
bye,
Jean
Hi Mr.Jean ...
I have same issue sir ...
two days working on it and nothing happened except some weak gaze pointer interactions !! :-\
can we have a correct solution for this common problem ?!
thank you so much .
-
wow !
Finally I found the place of my button's reaction !
true place :
(http://s8.picofile.com/file/8327482592/nothing_happend_in_true_place.jpg)
false place :
(http://s8.picofile.com/file/8327482618/worked_in_false_place_.jpg)
I mean " i tween Animation ( to scale ) " plays .
now , how i change my screen point's variable to true value guys ?
-
Hi,
unfortunatly, without any device, I can't help you.. I am unable to test and verify how it works. I am trying to find someone that could debug this and provide the right way to go...
maybe you could? have you tried to mess around with it?
Bye,
Jean
-
hello Mr. jean ...
yes sure , i have a VR device ( VRBOX brand ) and i can test it .
of course , before that we have a problem with " World Space " uGuiVRGaze canvas in unity playmode ! :-\(I changed canvas render mode according to this page :https://unity3d.com/learn/tutorials/topics/virtual-reality/user-interfaces-vr (https://unity3d.com/learn/tutorials/topics/virtual-reality/user-interfaces-vr) )
i sent two screenshots in my previous comment and explained it Mr. jean .
-
Hi,
Ok, cool, can you send me the thread where you mention the fix? ping me if I don't reply :)
Bye,
Jean