Explorar o código

Temp remove collider for tiles, causing massive allocs on interactives

trethaller %!s(int64=6) %!d(string=hai) anos
pai
achega
2c2687c11a
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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;
+	}
 }