faljse Posted December 26, 2016 Share Posted December 26, 2016 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 Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted December 26, 2016 Share Posted December 26, 2016 Picking works in ortho, I've used it on production projects. I'll take a look once my girl is done with my pc (she is playing one of her Christmas presents) Quote Link to comment Share on other sites More sharing options...
jschwuch Posted January 3, 2017 Share Posted January 3, 2017 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? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 4, 2017 Share Posted January 4, 2017 No worry it was a bug with the new matrix projection code we did (for more depth precision) It is fixed now:) 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.