adding particles to characters
by Dr. John Nobody · in Torque Game Engine · 06/04/2003 (5:21 am) · 4 replies
I saw this done with the steamnight character that was in a version of realm wars I downloaded awhile ago. I would like to do something similar with one character, have smoke come from him constantly, and with another I'd like to have the particles triggered by a key binding (or maybe not, I want a fire effect for the jetpack resource, I'm not sure as to what would be the best way to trigger that, key bindings might not be so great because if the character is out of energy and cant jet, the particles would still go off). How would I do something like this? I'm assuming I'd add a mount or something to the characters model, then attach the particle emitter to the mount? Is this correct? and how would I go about doing something like this?
#2
06/05/2003 (3:44 pm)
Add another emitter to the player class specifically for jetting using the dust emitter as an example of how and where it all goes. Change the logic so that it emits when mJetting is true, instead of making foot puffs.
#3
03/28/2005 (2:19 am)
Can somebody please post the code snippet for adding the emitter to the player, thanks
#4
04/06/2005 (9:56 pm)
I also want to do something like this; add/mount the smoke emitter to player instead of bow weapon in FPS demo. Is it posible? Has someone tried this? Please provide the pointers / code snippet. thanks
Torque Owner Daniel Neilsen
The way I did it was to actually add particle emitters to the player object much like th projectile emitter and it seems to be a lot more stable.