LitDev.LDPhysics.AddExplosion C# (CSharp) Method

AddExplosion() public static method

Make an explosion, which consists of 50x20kg particles blast apart over 500ms.
public static AddExplosion ( Primitive posX, Primitive posY, Primitive power, Primitive damping, Primitive colour ) : void
posX Primitive The X coordinate of the explosion.
posY Primitive The Y coordinate of the explosion.
power Primitive The explosion force, this is the initial velocity of the blast particles.
damping Primitive A damping for the blast, the smaller this value the larger the blast range (default 10).
colour Primitive An optional colour of the explosion particles ("" for none).
return void
        public static void AddExplosion(Primitive posX, Primitive posY, Primitive power, Primitive damping, Primitive colour)
        {
            _Engine.addExplosion(posX, posY, power, damping, colour);
        }