LightGizmo rootMesh can not trigger pointerpick

PG: https://playground.babylonjs.com/#AKM6YC#1

You can use onClickedObservable: 1 | Babylon.js Playground (babylonjs.com)

3 Likes

I know that.But i want to know that why it can not trigger pointerpick.
I review the source code but no errors found.

If you check for pickInfo.hit instead it also logs: 1 | Babylon.js Playground (babylonjs.com). As for why the type of the event isn’t pick, I’m not sure, might have to do with how the InputManager processes the utility layer meshes, but I’ll tag @PolygonalSun who has more insight into the input system.

1 Like

AFAIK, the only events that trigger for gizmos are POINTERUP, POINTERDOWN, POINTERMOVE, and POINTERDOUBLETAP. All other PointerEventTypes are ignored.

1 Like