playMaker

Author Topic: uGuiVrGazeButton on Ecosystem  (Read 3367 times)

andycoke

  • Playmaker Newbie
  • *
  • Posts: 13
uGuiVrGazeButton on Ecosystem
« 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.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: uGuiVrGazeButton on Ecosystem
« Reply #1 on: November 07, 2017, 01:07:26 AM »
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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: uGuiVrGazeButton on Ecosystem
« Reply #2 on: November 07, 2017, 01:11:29 AM »

andycoke

  • Playmaker Newbie
  • *
  • Posts: 13
Re: uGuiVrGazeButton on Ecosystem
« Reply #3 on: November 17, 2017, 09:30:42 AM »
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.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: uGuiVrGazeButton on Ecosystem
« Reply #4 on: November 22, 2017, 01:32:19 AM »
Hi,

 Yeah, I need to work on this indeed. what version of Unity and what gear do you have?

Bye,

 Jean

andycoke

  • Playmaker Newbie
  • *
  • Posts: 13
Re: uGuiVrGazeButton on Ecosystem
« Reply #5 on: November 22, 2017, 11:46:41 AM »
Hi Jean, I'm using Unity 2017.2 with a Rift.

Thanks

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: uGuiVrGazeButton on Ecosystem
« Reply #6 on: November 29, 2017, 01:14:59 AM »
Hi,

 ok, I'll see what I can do.

 bye,

 Jean

Amin

  • Playmaker Newbie
  • *
  • Posts: 12
Re: uGuiVrGazeButton on Ecosystem
« Reply #7 on: May 26, 2018, 02:10:21 AM »
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 .

Amin

  • Playmaker Newbie
  • *
  • Posts: 12
Re: uGuiVrGazeButton on Ecosystem
« Reply #8 on: May 26, 2018, 03:08:02 AM »
wow !
Finally I found the place of my button's reaction !

true place :

false place :

I mean " i tween Animation ( to scale ) " plays .

now , how i change my screen point's variable to true value guys ?
« Last Edit: May 26, 2018, 03:15:16 AM by Amin »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: uGuiVrGazeButton on Ecosystem
« Reply #9 on: May 30, 2018, 03:02:41 AM »
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

Amin

  • Playmaker Newbie
  • *
  • Posts: 12
Re: uGuiVrGazeButton on Ecosystem
« Reply #10 on: May 30, 2018, 07:35:08 AM »
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

i sent two screenshots in my previous comment and explained it Mr. jean .

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: uGuiVrGazeButton on Ecosystem
« Reply #11 on: May 31, 2018, 01:56:50 AM »
Hi,

Ok, cool, can you send me the thread where you mention the fix? ping me if I don't reply :)

 Bye,

 Jean