Game Development Community

Triggering a particle effect

by Max Nichols · in Torque Game Engine · 09/29/2008 (8:21 am) · 1 replies

I'm trying to set up a trigger so that, when a player walks into it, it sets off a particle effect at the trigger's location. I've got the trigger set up to the point where it works, using the echo function to test it, but I can't figure out exactly what code I need to set off a particle effect. How would I go about doing this?

Thanks in advance.

#1
11/18/2008 (8:45 am)
You'll need a position and a particleEmitterNode placed at that position. Take a look at the triggered fire example in sgExamples.cs