To create a handle that can be used for instance for slicing, the user now needs to disable the camera controls completely to be able to interact with this object without rotating the view at the same time. This is unfortunate.
It is also necessary to access the private viewer._camera property to set up a three.js Raycaster. We should overhaul the API so it is possible to listen to different events, such as mouse down, mouse move, etc. and access necessary properties to create such controls easily.
To create a handle that can be used for instance for slicing, the user now needs to disable the camera controls completely to be able to interact with this object without rotating the view at the same time. This is unfortunate.
It is also necessary to access the private
viewer._camera
property to set up a three.js Raycaster. We should overhaul the API so it is possible to listen to different events, such as mouse down, mouse move, etc. and access necessary properties to create such controls easily.