Closed TimurAditazz closed 8 years ago
Fx can be for 2edd453129e0e72d680a5cb5d75fedde99c2dcc0:
replace
276 mousecoords.unproject(camera);
277 raycaster.ray.set( camera.position, mousecoords.sub( camera.position ).normalize() );
to
raycaster.setFromCamera( mousecoords, camera );
If this fix is good, would you make and publish version 0.7.6
Thanks for catching that!
Published as 0.8.0 which also includes a new Renderer/Scene setup, so watch out for that.
Thank you for this great tool!
camera-up.js example doesn't work properly if perspective camera changet to othographic, it has wrong mouse click coordinates. 0.7.5
looks like it remove cube only if the cube on line from camera to center