List
Touch behaviour on Moverio BT-300 application
Posted Date: 2018-04-11 15:08     Edited Date: 2018-04-12 1:30     Writer: inactive

Hi, 

I'm trying to make a simple touch interaction on my Moverio BT-300, but it's behaviour is something really weird: 

I have a box collider (center 0, 0, 0; width 1, 1, 1) but on BT-300 it is working as it's center was 0.5, 0, 0. 

In other words, I think colliders are somehow moving to the right side of the object.

 

Optical See Through is enabled.

Posted Date: 2018-04-12 1:30     Edited Date: 2018-04-12 1:30     Writer: inactive

Hi! 

When you start the app in Optical-See through mode, it automatically creates two cameras (LeftEye, RightEye) under ARCamera. And the generated camera reflects the calibration information of both eyes.

These cameras can not be accessed by Camera.main Tag, so implementing hittest with Camera.main keyword may not work properly. When using hittest, create a script in ARCamera, get the Camera with GetComponentsInChild <Camera> (), and then use the Camera Component whose Camera.transform.name is EyeLeft or EyeRight.

Below is an example of obtaining a camera in optical-see through mode.

Camera [] camera = GetComponentsInChild<Camera>();
camera[0].ScreenPointRay(Inpit.mousePosition)

If this does not help, please send me a simple code that can be replayed.

Thank you.

Sam
SDK Team, MAXST