Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Tangled Rays on April 15, 2020, 01:07:57 PM

Title: Spawning game object at particle collision point
Post by: Tangled Rays on April 15, 2020, 01:07:57 PM
Get Particle Collision Info only allows you to use a variable rather than a game object, do I have to attach FSM's to all my platforms declaring the variable? How do I get it to recognise my platforms otherwise? Trying to save myself lots of mistakes in figuring this out, thanks for any help :)

Basically I have particle systems spawning butterfly's, I want them to turn in to game objects when they touch the platforms so it appears they have landed and are now collectable. I know how to do the second part, it's just the lack of options that's confusing me, not sure how it works.
Title: Re: Spawning game object at particle collision point
Post by: jeanfabre on April 17, 2020, 09:11:13 AM
Hi,

 yes, each platform shoud have a fsm listening to particle collisions. you can create an fsm template and simply reference that template in fsm on each platform, so that you don't duplicate the logic.

Bye,

 Jean