playMaker

Author Topic: How can i emit a particle at a collision location?  (Read 225 times)

hg2games

  • Playmaker Newbie
  • *
  • Posts: 5
    • View Profile
How can i emit a particle at a collision location?
« on: April 06, 2020, 06:46:25 AM »
How can i emit a particle at a collision location?

Broken Stylus

  • Sr. Member
  • ****
  • Posts: 369
    • View Profile
Re: How can i emit a particle at a collision location?
« Reply #1 on: April 08, 2020, 11:29:32 AM »
Get the coordinates of the collision event for example and place a particle emitter there.
Or associate a particle emitter to the prefab you might be using and have this emitter either be activated as a game object, and launch particles on awake, or let it already be active but silent and use an action that plays the shuriken system on this emitter.
Use global coordinates for the particles too, it could avoid having the particle "cloud" follow whatever object generated the collision in the first place.