Home »Samples»NoExit»Door FSM»Open
Index

Open

Overview

Plays an idle Open animation. Closes if the player leaves its trigger volume.

Actions

Play Animation

Plays the Open animation - a static idle of the door in an open state.

On entering the state, the action blends into the Open animation in 0.3 seconds.

The opening "animation" is really a blend between a Closed animation and the Open animation.

Play Sound

Play the doorServos sound on the game object.

Trigger Event

The door has a Box Collider setup as a Trigger.

When the player leaves the trigger volume (OnTriggerExit), the closeDoor event is sent.