Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: jjbanks on August 13, 2012, 06:43:10 PM
-
Hey Guys -
Having a little trouble with Prefabs detecting Trigger Events. I currently have enemies spawning using a Create Object state on a 1 second timer. The spawned enemies have their own FSM that uses a trigger event to destroy the object if it collides with a collider that has the tag "Hero". If I manually place enemies in the scene - they all correctly die on impact with the "Hero" object/collider. However, when they spawn, they are only destroyed randomly, and some don't even get destroyed at all.
I've been searching the forums for the last couple hours and found a few posts - but none seem to have quite my problem. Is there some type of universal reset / retrigger per object I am missing?
thanks! :)
-
Hi,
could it be that when you spawn them , they are colliding already? if that's the case, you'll likely miss the events yes.
bye,
Jean