Animal Controller
Use the Animal Controller integration when States should drive a Malbers Animations animal, stance, mode, weapon, aim, target, or destination through the controller APIs.
Install the integration
- Download the current Animal Controller integration from Opsive Downloads.
- Import
StateDesignerAnimalController.unitypackage. - Confirm Set Destination appears in the State Palette.
What the integration adds
- Movement and targeting: Set Destination, Set Speed, Set Strafe, Set Target, Stop Movement.
- Animation and reaction: Play Mode, Play Stance, Play State, React, Activate Zone.
- Weapons: Attack Weapon, Equip Weapon, Unequip Weapon, Reload Weapon, Set Aim.
- Conditions: Is Aiming, Is Attacking, Is Reloading.
Build a first workflow
- Verify the Animal Controller can move and play one Mode directly.
- Use Patrol, Chase, and Attack States and assign movement Actions to their owners.
- Use the supplied Conditions to leave Attack or Reload only when the controller reports completion.
- Stop movement and clear the target on the exit path that owns those requests.