Browse Source

trails are ignore collide/bounds by default

Nicolas Cannasse 10 tháng trước cách đây
mục cha
commit
3879a382a6
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      hrt/prefab/l3d/Trails.hx

+ 3 - 0
hrt/prefab/l3d/Trails.hx

@@ -373,6 +373,9 @@ class TrailObj extends h3d.scene.Mesh {
 		updateShader();
 
 		cooldown = 0.0;
+
+		ignoreCollide = true;
+		ignoreBounds = true;
 	}
 
 	var lastUpdateDuration = 0.0;