Particle Question
by Bryce · in Torque Game Engine · 11/08/2009 (12:26 am) · 3 replies
Hi all,
I was wondering if it's possible to have two different ParticleDatas spawned from an emitter. I'm working on my muzzle flash effect, so that I can have the flame and a puff of smoke at the same time. In the emitter datablock, I tried specifying the two ParticleDatas separated by the word TAB, but that's not working. Can someone help me out here? I'm using TGE 1.4.2.
Cheers,
Bryce
I was wondering if it's possible to have two different ParticleDatas spawned from an emitter. I'm working on my muzzle flash effect, so that I can have the flame and a puff of smoke at the same time. In the emitter datablock, I tried specifying the two ParticleDatas separated by the word TAB, but that's not working. Can someone help me out here? I'm using TGE 1.4.2.
Cheers,
Bryce
#2
Well that should work. ParticleEmitterData can take a (tab or space delimited) list of multiple ParticleData types.
11/08/2009 (11:15 am)
Quote:I tried specifying the two ParticleDatas separated by the word TAB
Well that should work. ParticleEmitterData can take a (tab or space delimited) list of multiple ParticleData types.
particles = "partData1 partData2 partData3";Any console errors showing up when loading the script in question?
#3
Thanks for the help!
11/08/2009 (12:36 pm)
Ah, got it. Clever me had the emitter datablock defined in two different scripts :PThanks for the help!
Torque Owner Mike Rowley
Mike Rowley
MyDatablock1 : MyDatablock2;