Sfoglia il codice sorgente

Temp remove collider for tiles, causing massive allocs on interactives

trethaller 6 anni fa
parent
commit
2c2687c11a
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  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;
+	}
 }