nikita Posted November 27, 2018 Share Posted November 27, 2018 Hi, I am creating a scene which will have a huge translucent sphere around a mesh and I want to be able to walk through the sphere to look at the mesh. I am using VR helper methods but I am not able to teleport inside sphere. I tried overriding the raySelectionPredicate method and returned false for the specific sphere so that the ray doesn't collide with the sphere, but its not helping. Any leads will be appreciated. Thanks. Quote Link to comment Share on other sites More sharing options...
Sebavan Posted November 27, 2018 Share Posted November 27, 2018 Pinging @trevordev Quote Link to comment Share on other sites More sharing options...
trevordev Posted November 27, 2018 Share Posted November 27, 2018 @nikita If you set sphere.isPickable = false does it work? If not, send me a repro on the playground and I can take a look. Quote Link to comment Share on other sites More sharing options...
brianzinn Posted November 27, 2018 Share Posted November 27, 2018 Are you calling enableInteractions() after setting the raySelectionPredicate? That will overwrite your own predicate - otherwise your predicate should take precedence. Otherwise are your distances large - like over 100? Quote Link to comment Share on other sites More sharing options...
nikita Posted November 28, 2018 Author Share Posted November 28, 2018 11 hours ago, trevordev said: @nikita If you set sphere.isPickable = false does it work? If not, send me a repro on the playground and I can take a look. @trevordev Adding isPickable = false worked. Thanks. trevordev and Sebavan 2 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.