playMaker

Author Topic: FSM (ray) Template on 4 objects once hit disable rest  (Read 524 times)

kici

  • Junior Playmaker
  • **
  • Posts: 63
    • View Profile
    • KZ Development
FSM (ray) Template on 4 objects once hit disable rest
« on: August 31, 2014, 11:32:08 AM »
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
« Last Edit: August 31, 2014, 12:01:56 PM by kici »