Home »Samples»NoExit»Door FSM»Closed
Index

Closed

Overview

Plays an idle closed animation and waits for a trigger event to open.

Actions

Play Animation

Plays the Closed animation - a static idle of the door in a closed position.

If this state is entered with another animation playing (e.g., Open), it blends to Closed in 0.3 seconds.

So the opening/closing animations are in fact blends between static idles.

 

Trigger Event

The door has a Box Collider set as a Trigger.

When the player collides with the trigger this action sends an openDoor event.