浏览代码

Temp remove collider for tiles, causing massive allocs on interactives

trethaller 6 年之前
父节点
当前提交
2c2687c11a
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      h3d/scene/pbr/terrain/Tile.hx

+ 4 - 0
h3d/scene/pbr/terrain/Tile.hx

@@ -535,4 +535,8 @@ class Tile extends h3d.scene.Mesh {
 				return false;
 		return true;
 	}
+
+	override function getLocalCollider():h3d.col.Collider {
+		return null;
+	}
 }