State Designer
Use the State Designer integration when a behavior tree should start, stop, inspect, or exchange variables with a finite state machine without duplicating that state logic as tree branches.
Install the integration
- Download the current State Designer integration from Opsive Downloads.
- Import
BehaviorDesignerStateDesigner.unitypackage. - Confirm Start State Machine appears in the Task List.
What the integration adds
- Behavior Designer Pro tasks: Start State Machine, Stop State Machine, Is State Machine Active, Compare State Machine Status, Synchronize State Machine Variables.
- State Designer nodes: Start Behavior Tree, Stop Behavior Tree, Is Behavior Tree Active, Compare Behavior Tree Status, Synchronize Behavior Tree Variables.
Build a first workflow
- Put a State Machine component on the object that owns a short interaction or animation flow.
- Add Start State Machine to the behavior tree and assign that State Machine.
- Use Compare State Machine Status or Is State Machine Active before the next decision branch.
- Add Synchronize State Machine Variables only for values that genuinely cross the graph boundary.
- Stop or resume the state machine deliberately when the behavior branch is aborted.