nikita

VRTeleportation through translucent meshes

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.