Browse Source

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

jeff Palmer 10 năm trước cách đây
mục cha
commit
58b9f4c046
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;