Three.js: StereoEffect intersect object not working ?

Created on 24 May 2017  路  1Comment  路  Source: mrdoob/three.js

Description of the problem
var vector = new THREE.Vector3(mouse.x, mouse.y, 0.5);
    projector.unprojectVector(vector, camera);
var ray = new THREE.Raycaster(camera.position, vector.sub(camera.position).normalize());
var intersects = ray.intersectObjects(objectList, true);

Why Intersect object not working ?

Three.js version
  • [ ] Dev
  • [ ] r85
  • [x] r69
Browser
  • [x] All of them
  • [ ] Chrome
  • [ ] Firefox
  • [ ] Internet Explorer
OS
  • [x] All of them
  • [ ] Windows
  • [ ] macOS
  • [ ] Linux
  • [ ] Android
  • [ ] iOS
Hardware Requirements (graphics card, VR Device, ...)
Help (please use the forum)

Most helpful comment

three.js r.69 is 3 years old. It would be wise to update to the current version.

See this SO post.

>All comments

three.js r.69 is 3 years old. It would be wise to update to the current version.

See this SO post.

Was this page helpful?
0 / 5 - 0 ratings