Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: TVGRAFX on August 14, 2011, 12:42:31 PM

Title: Trigger Particles
Post by: TVGRAFX on August 14, 2011, 12:42:31 PM
I just bought playMaker a week ago and have been working through the basics. After watching the "Trigger and Doors" tutorial ( http://www.youtube.com/user/HutongGamesLLC ) I'd like to add a particle one shot when the door opens, but don't know how to active and deactivate the particle burst. Can anybody help a brother out? :)

Shake and Bake,
Keith
Title: Re: Trigger Particles
Post by: TVGRAFX on August 14, 2011, 04:33:37 PM
I think I have a good start by using the Activate Game Object action, but after the first burst of particles caused by box collider the burst only happens once. I'd liked have this event happen more than once.

Any ideas?
Title: Re: Trigger Particles
Post by: Alex Chouls on August 14, 2011, 06:17:10 PM
Make your particle effect a prefab, then use Create Object instead of Activate Game Object. Check Auto Destruct in the Particle Animator to destroy the game object when the particle effect ends.
Title: Re: Trigger Particles
Post by: qholmes on August 15, 2011, 10:45:51 AM
Funny i had tried to use the Auto Destruct function a while ago and it did not work for me for some reason... So i wrote a little Action to turn on and off the Particles... But i just tried it and it works perfectly of course... cool.

I will post my Action in the action section anyway. Incase someone wants it.

Q