playMaker

Author Topic: Trigger Particles  (Read 7855 times)

TVGRAFX

  • Playmaker Newbie
  • *
  • Posts: 7
Trigger Particles
« 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

TVGRAFX

  • Playmaker Newbie
  • *
  • Posts: 7
Re: Trigger Particles
« Reply #1 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?

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Trigger Particles
« Reply #2 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.

qholmes

  • 1.2 Beta
  • Hero Member
  • *
  • Posts: 509
Re: Trigger Particles
« Reply #3 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