Open sakopqiu opened 4 years ago
https://github.com/josdirksen/learning-threejs/blob/85f85aeb137f0b01ba96c8b1bfd7019134e596ef/chapter-09/02-selecting-objects.html#L200
I am a bit confused about the point selected by the author. Why new THREE.Vector3(-30, 39.8, 30)
new THREE.Vector3(-30, 39.8, 30)
IMHO, it should be camera.position, since I want to draw a barrel from the camera to the intersection point, but it does not seem to work either.
https://github.com/josdirksen/learning-threejs/blob/85f85aeb137f0b01ba96c8b1bfd7019134e596ef/chapter-09/02-selecting-objects.html#L200
I am a bit confused about the point selected by the author. Why
new THREE.Vector3(-30, 39.8, 30)
IMHO, it should be camera.position, since I want to draw a barrel from the camera to the intersection point, but it does not seem to work either.