Open J-Rojas opened 5 years ago
@J-Rojas Not sure 'OrbitControls.screenSpacePanning = false' is a perfect solution. I assume Google Earth-like controls are expected as seen in here in stackoverflow. I'll take a look at it and possibly request a pull later.
It works great for me. Feel free to try it out and comment.
The panning behaviour is currently implemented to move the user along the camera's view plane. It would be more useful to pan along the scene's XY plane. This is how RVIZ implements panning and Three.js also has support using 'OrbitControls.screenSpacePanning = false'.