playMaker

Author Topic: How to skip certain states in the FSM[SLOVED]  (Read 1184 times)

playmakertester

  • Full Member
  • ***
  • Posts: 211
How to skip certain states in the FSM[SLOVED]
« on: October 09, 2020, 06:21:41 AM »
I'm looking for a way to use two FSMs and force a Colliison to transition to a specific State in the other FSM when it collides with one of them.

If you have any action names or ways to build an FSM to achieve this, please let me know.
« Last Edit: October 09, 2020, 02:02:20 PM by playmakertester »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: How to skip certain states in the FSM
« Reply #1 on: October 09, 2020, 07:31:44 AM »
Hi.
There are many ways to achieve this.

for example a tag compare/switch.
if collider tag is A send event A (targeting the other fsm)
if collider tag is B send event B (targeting the other fsm)

playmakertester

  • Full Member
  • ***
  • Posts: 211
Re: How to skip certain states in the FSM[SLOVED]
« Reply #2 on: October 09, 2020, 02:03:08 PM »
Oh, I see.

Thank you.
I'll try and include some past articles and such and see what I can do!

Thank you!