Three.js Raycaster Intersectobjects
I'm trying to modify this example from three.js to control the character(s) with mouse clicks. First, when I click on the canvas, I need the mouse coordinates and convert that int
Solution 1:
Apparently, Gyroscope is the problem. Taking out these lines, and I get intersects working. Not sure if this is a bug or feature.
var gyro = new THREE.Gyroscope();
gyro.add( camera );
characters[ Math.floor( nSkins/2 ) ].root.add( gyro );
Post a Comment for "Three.js Raycaster Intersectobjects"