add_state_machine_transition
Add a transition between two states in a Godot AnimationTree state machine, specifying switch mode, advance mode, and optional advance expression.
Instructions
Add a transition between two states (Start/End accepted) with switch mode, advance mode and an optional advance expression that needs advance_expression_base_node set on the AnimationTree
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_state | Yes | ||
| node_path | Yes | ||
| from_state | Yes | ||
| xfade_time | No | ||
| switch_mode | No | immediate | |
| advance_mode | No | enabled | |
| advance_expression | No | ||
| state_machine_path | No |