When using the examples without physics, if I enable look-controls on the camera and move cubes around, soon they dont match the pointer direction anymore.
In this example where I enable/disable look-controls on "drag-start" on the chair object the problem gets even worse:
https://testprojectxxxx.herokuapp.com/
It seems to happen because the new position of the object is calculated relatively to the initial position of the camera (ie the camera is supposed to stay locked on the same position/rotation)
Any idea of where to look in the code in order to fix this?
When using the examples without physics, if I enable look-controls on the camera and move cubes around, soon they dont match the pointer direction anymore.
In this example where I enable/disable look-controls on "drag-start" on the chair object the problem gets even worse: https://testprojectxxxx.herokuapp.com/
It seems to happen because the new position of the object is calculated relatively to the initial position of the camera (ie the camera is supposed to stay locked on the same position/rotation)
Any idea of where to look in the code in order to fix this?