ignore pickRay for zone shape visualizers

This commit is contained in:
Thijs Wenker 2019-01-31 19:37:21 +01:00
parent 75c1bdbf0d
commit 15066faaf7

View file

@ -135,6 +135,7 @@ EntityShape.prototype = {
overlayProperties.canCastShadows = false;
overlayProperties.parentID = this.entityID;
overlayProperties.collisionless = true;
overlayProperties.ignorePickIntersection = true;
this.entity = Entities.addEntity(overlayProperties, "local");
var PROJECTED_MATERIALS = false;
this.materialEntity = Entities.addEntity({