Jump to content

Picking not working correctly using orthographic cameras


faljse
 Share

Recommended Posts

Hi,
I noticed picking doesnt work correctly when using an orthographic camera.
I could reproduce the problem modifying your samples on playground:
http://www.babylonjs-playground.com/#XUDHE

Result is always false: {hit: false, distance: 0, pickedPoint: null, pickedMesh: null, bu: 0…}
Is this supposed to work, or do i need to use a different method for ortho projection?

faljse

Link to comment
Share on other sites

I'm having problems with picking and orthographic cameras too. Because I have custom mouse handling in my Project I use scene.pick to get my picking results. Works like a charm with normal Cameras but doesn't work at all with orthographic ones. Anyone got any tips what we could try to get it working? 

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