Dealing damage to AI using hitboxes, ragdolls, and healthbars in Unity [AI #02]

Опубликовано: 30 Октябрь 2024
на канале: TheKiwiCoder
66,491
1.6k

Add AI damage to your agents in Unity! Agents enter ragdoll when their health drops to zero. The ragdoll hitbox colliders are used for hit detection on the AI. A hit effect is implemented by modifying the colour intensity on the enemy material. The healthbar is implemented in screen-space to keep a consistent size.

Kia ora: (0:00)
Ragdolls: (1:15)
Health Component: (6:13)
Hit Boxes: (8:49)
Hit Effects: (13:07)
Health Bar: (17:47)
One last thing... : (28:01)


► Previous Video:    • Creating your first animated AI Chara...   (Ai Locomotion)

** Share this video **
   • Dealing damage to AI using hitboxes, ...  
**********************

** Subscribe **
   / @thekiwicoder  
***********************

Follow Me:
►   / thekiwicoder  
► http://www.thekiwicoder.com/
►   / thekiwicoder  
►   / discord  

#thekiwicoder #ragdoll #healthbar

Thank you!