Unity Switching Weapons using Animator Override Controllers [AI #07]

Опубликовано: 27 Август 2026
на канале: TheKiwiCoder
19,871
373

This Unity tutorial uses animator override controllers to player specific animations for each weapon, while keeping the state machine generic. This makes it easy to implement new weapon states for every weapon. The Ai will choose a weapon to use based on the distance to the player, and switch weapons when a better weapon to use is found.

Project files available here!
►   / thekiwicoder  

Follow Me:
► Discord:   / discord  
► Patreon:   / thekiwicoder  
► Twitter:   / the_kiwicoder  
► Instagram:   / thekiwicoder  
► TikTok:   / thekiwicoder  
► TheKiwiCoder: http://www.thekiwicoder.com/

Kia ora! 0:00
Unity animator override controllers: 0:24
Weapon reloading: 02:06
Equip multiple weapons: 07:20
Switching between weapons: 08:56
Ka kite!: 13:46

#unity #ai #switchingweapons #thekiwicoder #animatoroverridecontrollers

Thank you!
TheKiwiCoder