playMaker

Author Topic: uGuiVrGazeButton on Ecosystem  (Read 67 times)

andycoke

  • Playmaker Newbie
  • *
  • Posts: 11
    • View Profile
uGuiVrGazeButton on Ecosystem
« on: November 06, 2017, 07: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: 12342
  • Official Playmaker Support
    • View Profile
Re: uGuiVrGazeButton on Ecosystem
« Reply #1 on: November 06, 2017, 11:07:26 PM »
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: 12342
  • Official Playmaker Support
    • View Profile
Re: uGuiVrGazeButton on Ecosystem
« Reply #2 on: November 06, 2017, 11:11:29 PM »

andycoke

  • Playmaker Newbie
  • *
  • Posts: 11
    • View Profile
Re: uGuiVrGazeButton on Ecosystem
« Reply #3 on: November 17, 2017, 07: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.