Browse Source

- Explosion ParticlePlayers in the TruckToy are now not affected by gravity.

MelvMay-GG 12 years ago
parent
commit
b88a3f9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      modules/TruckToy/1/main.cs

+ 1 - 0
modules/TruckToy/1/main.cs

@@ -695,6 +695,7 @@ function TruckProjectile::handleCollision(%this, %object, %collisionDetails)
 {   
     // Create an impact explosion at the projectiles position.
     %particlePlayer = new ParticlePlayer();
+    %particlePlayer.BodyType = Static;
     %particlePlayer.Position = %this.Position;    
     %particlePlayer.Size = 10;
     %particlePlayer.SceneLayer = TruckToy.BackgroundDomain-1;