also ignore picking on the material entity

This commit is contained in:
Thijs Wenker 2019-01-31 22:12:35 +01:00
parent 15066faaf7
commit 80f5cbc8ab

View file

@ -147,6 +147,7 @@ EntityShape.prototype = {
priority: 1,
materialMappingMode: PROJECTED_MATERIALS ? "projected" : "uv",
materialURL: Script.resolvePath("../assets/images/materials/GridPattern.json"),
ignorePickIntersection: true,
}, "local");
},
update: function() {