Hi!
I’m implemented gpu picking algorithm for selecting objects on the scene and now don’t need default raycasting.
How I can disable Scene.pick and Scene._internalPick during onPointerUp and onPointerDown events?
You can disable pointer event processing by the scene by using the onPrePointerObservable
observable:
scene.onPrePointerObservable.add((pointerInfo) => {
pointerInfo.skipOnPointerObservable = true;
});
1 Like