Explosions with dynamic light
by Wolfgang Kurz · in Torque Game Engine · 05/08/2007 (7:22 am) · 0 replies
Hello everyone,
i am toying around with explosions and projectiles in a top down view.
everything but the dynamic light works fine.
when a projectile explodes i get the light highlight the whole terrain square the explosion is in instead of a radius around the explosion
My explosion has this in the datablock:
// Dynamic light
lightStartRadius = 2;
lightEndRadius = 1;
lightStartColor = "0.5 0.5 0";
lightEndColor = "0 0 0";
anyone have any idea on what i could do to get the radial highlighting when a explosion occurs?
i am toying around with explosions and projectiles in a top down view.
everything but the dynamic light works fine.
when a projectile explodes i get the light highlight the whole terrain square the explosion is in instead of a radius around the explosion
My explosion has this in the datablock:
// Dynamic light
lightStartRadius = 2;
lightEndRadius = 1;
lightStartColor = "0.5 0.5 0";
lightEndColor = "0 0 0";
anyone have any idea on what i could do to get the radial highlighting when a explosion occurs?