playMaker

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

hg2games

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

Broken Stylus

  • Beta Group
  • Hero Member
  • *
  • Posts: 770
Re: How can i emit a particle at a collision location?
« Reply #1 on: April 08, 2020, 02:29:32 PM »
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.