Dad72 Posted December 1, 2016 Share Posted December 1, 2016 Hello, is there an example for using the multiPick? or A Tutorial ? Thanks Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 1, 2016 Share Posted December 1, 2016 http://www.babylonjs-playground.com/#6AO3Z#0 Quote Link to comment Share on other sites More sharing options...
Dad72 Posted December 1, 2016 Author Share Posted December 1, 2016 Thanks DK. But the result always returns 0. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 1, 2016 Share Posted December 1, 2016 Sorry did it too fast: http://www.babylonjs-playground.com/#6AO3Z#1 Quote Link to comment Share on other sites More sharing options...
Dad72 Posted December 1, 2016 Author Share Posted December 1, 2016 Thanks. I'm not sure yet what this is all about. I thought this would select multiple points in a click and that would add them to a array. Quote Link to comment Share on other sites More sharing options...
Raggar Posted December 1, 2016 Share Posted December 1, 2016 It's about not stopping the ray at the first intersected mesh, but continuing, so all other meshes behind it gets picked too. It gives an array of the same results you would get using normal scene.pick, with each array entry representing a mesh, point, length etc. object. GameMonetize and Dad72 2 Quote Link to comment Share on other sites More sharing options...
Dad72 Posted December 2, 2016 Author Share Posted December 2, 2016 Thanks Raggar. I understand 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.