Adding a Transition Event

Add a default Finished transition event to your state by right clicking on it, then choose /Add Transition/ FINISHED.

Add custom transitions event by first creating them in the “Event” tab at the right of the FSM window. Then right click on the state, choose Add Transition/[your custom event].

Transition Event concepts

Events are used to trigger transitions to another states (i.e. the FINISHED transition event means that once all the actions of the actual state are completed, the state is ready to move to another state.).

They can be sent directly by Unity (triggers, inputs, animation events..) or by actions (i.e. on the video above, we’ve already created events in ou r FSM called “kickPressed” or “kickReleased”)

 

 

 

Leave a Reply