You have to call camera.updateMatrixWorld();
before you use Vector3.project()
.
4 Likes
You have to call camera.updateMatrixWorld();
before you use Vector3.project()
.