Jump to content

How do I get ActionManager. OnPickDownTrigger to ignore blocking meshes?


focomoso
 Share

Recommended Posts

I'm building a custom rotation / scale gizmo. It draws in its own renderingGroup so it's always visible no matter what geometry might be in front of it (thanks @deltakosh). 

Now I've added rollover highlighting to the gizmo using the ActionManager.OnPointerOverTrigger and OnPointerOutTrigger. This is also working fine: no matter what geometry is between the camera and the gizmo, the gizmo highlights on rollover.

But when I add an ActionManager.OnPickDownTrigger, the trigger is only triggered when there is nothing between the camera and the gizmo. This causes a bad experience for the user because it looks from the highlighting that their click will select the gizmo, but it actually doesn't because the gizmo is blocked.

Is there a way for the OnPickDownTrigger to ignore the blocking geometry the same way the OnPointerOverTrigger does?

Link to comment
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...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...