devAxeon Posted July 10, 2018 Share Posted July 10, 2018 Hi everyone ! I'm trying to move between two cubemaps with an HTC VIVE. There's two interactions avaibles: Click with the controller on a plane. Use the gaze tracker on this same plane. This two cases works perfectly, but: Controller's ray is blocked by the cube (even with isBlocker = false). gazeTrackerMesh is not visible on my plane. Here is a PG: https://playground.babylonjs.com/index.html#M9YVIX Quote Link to comment Share on other sites More sharing options...
Guest Posted July 10, 2018 Share Posted July 10, 2018 Pinging @trevordev Quote Link to comment Share on other sites More sharing options...
trevordev Posted July 10, 2018 Share Posted July 10, 2018 Hey, take a look at this playground: https://playground.babylonjs.com/index.html#M9YVIX#2 (Is this behavior what you expect?) setting mesh.isPickable = false will make the rays not be blocked by the skybox's cube but you wont be able to see through the cube to see the rays hitting the plane, so I made the skybox much larger to avoid this The gazeTracker was not visible because the plane rendering group id was different then the gazerMeshes render group id, so I think the plane was being rendered on top of the gazer mesh, removing the setting of group id makes the gazer visible again Let me know if these solutions are not what you are looking for. Thanks. Quote Link to comment Share on other sites More sharing options...
devAxeon Posted July 11, 2018 Author Share Posted July 11, 2018 Hi @trevordev, Yes, that's perfect ^^ Thank you !! trevordev 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.