In this video we layer logic onto our “Attack State”. We give our Zombie the ability to select an attack, from a list of potential attacks, that are chosen based on the distance from our current target, and angle of sight. This sets us up for regular attacks like scratches and hits, as well as grappling attacks. Grappling attacks will see the zombie grabbing the player, the player will then have the option to attempt to get the zombie off using equipment, or take substantial damage from the grab that will lead into a bite. (Animations for this series will be available upon package completion)

Sebastian Graves