Tag Info

New answers tagged

0

You need to clone() the geometry before you use it. Here is a fiddle with the solution http://jsfiddle.net/ekwk2nxf/


1

Not sure whats going on here. The whole point of vector is to convert the mouse location into a 3d point in front of the camera. Setting Z to camera.position.z when the frame of reference is currently focused on the camera (camera is 0,0,0) and then unprojecting that value into world space in particular makes no sense. var vectorx = (event.clientX / ...



Top 50 recent answers are included