Monday, March 11, 2013

three.js picking

when experimenting with three.js I had abit of a problem getting picking to work with a model loaded via the THREE.OBJMTLLoader loader.
the solution was to pass true in raycaster.intersectObjects( scene.children ,true);
so picking would recurse over the child objects as well.

0 Comments:

Post a Comment

<< Home