Browse Source

trails are ignore collide/bounds by default

Nicolas Cannasse 10 months ago
parent
commit
3879a382a6
1 changed files with 3 additions and 0 deletions
  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;