Hi,
I have exported the scene to view as a webpage. Is there any way i can disable the camera movements on single clicks in JS?
I would like the camera to move only on double clicks.
Hi,
I have exported the scene to view as a webpage. Is there any way i can disable the camera movements on single clicks in JS?
I would like the camera to move only on double clicks.
You can capture the single click event in any node, something like:
WALK.getViewer().onNodeTypeClicked(function() {
return true; // returning true prevents further processing of the click event.
});