Przeglądaj źródła

Temp remove collider for tiles, causing massive allocs on interactives

trethaller 6 lat temu
rodzic
commit
2c2687c11a
1 zmienionych plików z 4 dodań i 0 usunięć
  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;
+	}
 }