Set nonPickable flag for cone mesh in ViewportHost

This commit is contained in:
2026-04-01 04:41:11 +02:00
parent d38ea6c755
commit 3575dae40d

View File

@@ -576,6 +576,7 @@ export class ViewportHost {
})
);
cone.position.y = coneLength * 0.5;
cone.userData.nonPickable = true;
for (const mesh of [core, cone]) {
this.tagEntityMesh(mesh, entityId, "spotLight", group);