final touches for wildlife - I implemented the death state with some basic behavior. If the NPC receives damage, they try to flee. If they are killed, then a VFX plays alongside their death animation. There's also a chance they drop an item!
#ue5 #indiegame #gamedev