jessepmason Posted March 19, 2017 Share Posted March 19, 2017 Hey, I recently found the need to ignore backfaces when picking... Just by adding line 38 I am able to do so... Might be a cool feature to implement?? http://www.babylonjs-playground.com/#1CS2I6#0 maybe..... scene.pick(x, y, predicate, fastCheck, camera ,backface ??) Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 20, 2017 Share Posted March 20, 2017 Could be cool! Fancy doing a PR? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 20, 2017 Share Posted March 20, 2017 Perhaps we can think about letting pick function unchanged and introduces a: scene.pickWithOptions(x, y, options: { predicate:, fastCheck:, camera:, backFace: }); Dad72 1 Quote Link to comment Share on other sites More sharing options...
jessepmason Posted March 20, 2017 Author Share Posted March 20, 2017 Yeah that's a good idea! I haven't done a pull request before so Ill look into it and if you haven't beat me to the punch Ill attempt to make one! Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 20, 2017 Share Posted March 20, 2017 I encourage you This is good learning and no worry I'll help 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.