Game Development Community

Make particles go in a specific direction

by Sobo · in Torque Game Builder · 11/30/2007 (7:16 am) · 6 replies

Im wondering how you make your particles in a particle effect go in a specific direction in TGB, like the fire coming from an airplane jet for example. I have looked for some good tutorials for hours but not found this specific function. I have also played around with the emitter and effect graph for a couple of hours but not been able to find the parameter that controlls the particle direction. I bet its something really simple but I just cant find a solution. Im not new to programming in TGB, but I have always used the particle effects that comes with the demo, and now I want to learn how to create my own. Any help is apreciated.

#1
12/13/2007 (10:21 pm)
What do you mean exactly? Do you just want to change the direction of a particle effect ?
if you already created the thruster effect you can change its angle. I'm not sure if this is what you are looking for, maybe you should explain a little bit more of what you want to do.
#2
12/14/2007 (12:27 am)
Your right, you have to play with the emitters more. I agree that all the options make it sometimes hard to pinpoint the exact field when modifying particle emmitters, but it's there, trust me. If you keep banging your head on this thing, poke me again and ill find it for you
#3
12/16/2007 (3:53 pm)
Ali Tahiri: Yes, I know I can rotate the finished particle effect. The problem is that to make a thruster, you want the particles that makes up the fire to go in the same direction. When you are creating a new particle effect the default settings will create the particles in the middle and spread them out in all directions. I want to make them go in just one direction, e.g. from the middle to the left. To do this you have to play with the emitters, I guess, but my problem is that I dont know which emitter functions are controling this. Hope this made it more clear. Thanks for answering guys.
#4
12/16/2007 (4:17 pm)
I think "fixed force base" is one of them.. that shows how fast the particles are going to be immitted.. you might then try "immision angle base" I think the combination of those two might start to get you in the right direction. First try to zero all of those out... it's kind of annoying how it creates a crap load of stuff pre-loaded already. Remember though that there are two places to change these, one is the "edit effect graph" and the other is "edit emitter graph". you problably only need to change the "edit effect graph" which has less controlls to deal with.
To zero out the "emmitter parameters" try creating a "new emitter", then it will allow you to delet the original "garage games default immitter" and the new one will be zeroed out.. then you can zero out some of the variables on the "edit effect graph" and give it a direction and a static or variable force.
#5
12/14/2009 (4:15 pm)
Any advice on this? Sobo, did you figure it out? I'm looking for the exact same answer and still unable to get the desired effect.
#6
12/14/2009 (4:45 pm)
You should just need to change the angle and arc. If you do it in the emitter, make sure you uncheck "Use Effect Emission".

There's a great resource on TDN for particle effects: tdn.garagegames.com/wiki/TGB/Resources/ParticlesArt. I often just start with one of those, (attempt to) analyze each graph, and then mimic the same in a new effect.

If this isn't quite what you're trying to do, just let me know. Good luck!