You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prevent raycaster detecting buttonpress while orbiting
Description
-How would I prevent raycasting while orbiting,
I'm using orbiting to replicate a panoramic scene, my problem is while the mouse button is down to orbit, the raycaster detects the objects and fires the action
As the scene panes with the mouse button down if I pass over the doors and buttons on the keypad, they will trigger, I want the orbit to work with left click n hold
The text was updated successfully, but these errors were encountered:
orbit.zip
maybe like this? works if the object is in a group, it's not detected as the camera orbits:
`
var orbit = program.getObjectByName("orbit");
var box = program.getObjectByName("box");
let curCamX;
let preCamX;
var turning;
function initialize() {
}
Prevent raycaster detecting buttonpress while orbiting
Description
-How would I prevent raycasting while orbiting,
I'm using orbiting to replicate a panoramic scene, my problem is while the mouse button is down to orbit, the raycaster detects the objects and fires the action
As the scene panes with the mouse button down if I pass over the doors and buttons on the keypad, they will trigger, I want the orbit to work with left click n hold
The text was updated successfully, but these errors were encountered: