Jump to content

Picking background mesh


dsman
 Share

Recommended Posts

Let's say I have a have a plane in front of camera and then one another plane behind it. If I click, scene.pick will give me the first plane. Any way to get the plane behind it? Assuming the click would be touching the background plane if the foreground plane wasn't there ?

 

Can we get something like array of all meshes comes in the path of click. And we can get whichever mesh we want in order. Like Threejs does I guess. 

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...