Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: kici on August 31, 2014, 02:32:08 PM

Title: FSM (ray) Template on 4 objects once hit disable rest
Post by: kici on August 31, 2014, 02:32:08 PM
Hello,

So I have this "FSM" Template that I created and it basically shoots out a ray from characters front feet upward, back feet upward, left side upward, right side upward.

Now they are all the same and if my character gets hit by an enemy it does specific actions and it dies, however now the other 3 sides are still open to the character being capable of being hit, I want to simply disable the other 3 sides until its run all the states in the current triggered FSM and then enable them all again... how would I do this, I've tried a few things and failed.

I chose to use a Ray because sometimes collision on collider simply didn't register...


I supposed I could make it work with a trigger event if i could get its location of hitpoint

Thanks