Creates a combat animation machine with attack and damage states.
Map of combat state names to animation clips
Configured animation machine for combat
const combat = createCombatMachine({ idle: 'Combat_Idle', attack: 'Attack_Slash', hit: 'Take_Damage', death: 'Death'}); Copy
const combat = createCombatMachine({ idle: 'Combat_Idle', attack: 'Attack_Slash', hit: 'Take_Damage', death: 'Death'});
Creates a combat animation machine with attack and damage states.