Particle Effect Delayed
by Georgina Benedetti · in Torque Game Builder · 02/04/2011 (6:39 pm) · 5 replies
I have a particle effect and I have set it to STOP, but it will only play when I put in 3 for the Effect Lifetime and even with that in, the effect does not play immediately but is delayed by about 3 seconds. Has it got to do with my emitter values? Because I have been through all of them and can't seem to work out what is causing the delay...
#2
02/06/2011 (6:53 am)
Tracking down where a particle effect has gone wrong often takes longer than making it again from scratch. Sounds like your graph for the emission base is messed up, but it could be any number of things.
#3
02/13/2011 (4:55 pm)
I've tried making it again from scratch all over again but I must keep on making the same mistake, because it doesn't seem to be working...I'll get a copy of my values and post them soon :)
#4
The other thing is that when a moving object has been hit, I do not want the particle effect to play again if the object has already been hit. So is there a way to tell it to not play?
I am also still having trouble with the particle effect being delayed...
<code>
function bulletClass::onCollision(%srcObject, %dstObject, %srcRef, %dstRef, %time, %normal, %contacts, %points)
{
echo("Painted!");
%splatterEff = new t2dParticleEffect();
%splatterEff.addToScene(SceneWindow2D.getScenegraph());
%splatterEff.loadEffect("~/data/particles/splatter.eff");
%splatterEff.setPosition(%dstObject.getPosition());
%splatterEff.playEffect(false);
}
<code>
02/13/2011 (5:19 pm)
I have a particle effect that called Splatter which is supposed to play when a bullet hits a moving object. The object does not stop moving when it is hit. These moving objects are clones. Is there a way to attach or mount the particle effect to the moving object? The other thing is that when a moving object has been hit, I do not want the particle effect to play again if the object has already been hit. So is there a way to tell it to not play?
I am also still having trouble with the particle effect being delayed...
<code>
function bulletClass::onCollision(%srcObject, %dstObject, %srcRef, %dstRef, %time, %normal, %contacts, %points)
{
echo("Painted!");
%splatterEff = new t2dParticleEffect();
%splatterEff.addToScene(SceneWindow2D.getScenegraph());
%splatterEff.loadEffect("~/data/particles/splatter.eff");
%splatterEff.setPosition(%dstObject.getPosition());
%splatterEff.playEffect(false);
}
<code>
#5
It is happening to all my particle effects that i try to make...
Is there a way I can upload this effect file so the values can be viewed?
04/27/2011 (8:38 pm)
Hey Guys! I still havn't figured this one out...I swear that I have been through all my values in the emitter and I still cannot work out what is causing the delays...It is happening to all my particle effects that i try to make...
Is there a way I can upload this effect file so the values can be viewed?
Employee Michael Perry
ZombieShortbus