Set nonPickable flag for cone mesh in ViewportHost
This commit is contained in:
@@ -576,6 +576,7 @@ export class ViewportHost {
|
|||||||
})
|
})
|
||||||
);
|
);
|
||||||
cone.position.y = coneLength * 0.5;
|
cone.position.y = coneLength * 0.5;
|
||||||
|
cone.userData.nonPickable = true;
|
||||||
|
|
||||||
for (const mesh of [core, cone]) {
|
for (const mesh of [core, cone]) {
|
||||||
this.tagEntityMesh(mesh, entityId, "spotLight", group);
|
this.tagEntityMesh(mesh, entityId, "spotLight", group);
|
||||||
|
|||||||
Reference in New Issue
Block a user