We developed a simple scene and we ran it into hmd cardboard environment with the
configuration, the new hmd_conf allows us to set webVR preset easily and the out of the box working gyro is awesome! so far so good!
We noticed that it's not possible to use the pick_object method in such configuration, probably that's disabled because of the camera barrel distortion and the consequent difference between the distorted and undistorted position (distortion managed by the browser).
In other cardboard demos we are used to a "click at the looked object" mode to interact with the scene by using the cardboard button.
By removing the
pick_object(canvasWidth/2 , canvasHeight/2)
works as expected also with the gyroscope, but not in the splitted screen hmd view.
Maybe an hypothetical "pick_object_hmd()" function could pick only the central point that's not distorted by the cardboard barrel…
We saw the space disaster demo, with the math for collisions but the pick_object is so straightforward in this case, so we tried to achieve this behaviour by using the calc_ray() but that returns an exception because this function is not allowed with this camera configuration
Is there a way to interact with the scene simulating a click at the canvas center at the actual development state?
Have you got an advice for us?