瀏覽代碼

Change Mesh default layerMask, such that special cameras can be built
that cannot see those meshes which default.

jeff Palmer 10 年之前
父節點
當前提交
58b9f4c046
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Babylon/Mesh/babylon.abstractMesh.ts

+ 1 - 1
Babylon/Mesh/babylon.abstractMesh.ts

@@ -63,7 +63,7 @@
         public useOctreeForPicking = true;
         public useOctreeForCollisions = true;
 
-        public layerMask: number = 0xFFFFFFFF;
+        public layerMask: number = 0x0FFFFFFF;
 
         // Physics
         public _physicImpostor = PhysicsEngine.NoImpostor;