playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Spawned Prefabs Randomly Triggering Event
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Spawned Prefabs Randomly Triggering Event (Read 1893 times)
jjbanks
Playmaker Newbie
Posts: 3
Spawned Prefabs Randomly Triggering Event
«
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!
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: Spawned Prefabs Randomly Triggering Event
«
Reply #1 on:
August 14, 2012, 02:47:52 AM »
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
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Spawned Prefabs Randomly Triggering Event