Create ELDEN RING in Unity ► EP. 27 DIRECTIONAL BASED DAMAGE ANIMATION

Subscribers:
36,800
Published on ● Video Link: https://www.youtube.com/watch?v=Uk9l2_vuabE



Duration: 19:03
2,110 views
72


In this video we create the logic to play a directional based damage animation during our take damage effect. What is directional based damage? Basically, the animation system will select a damage animation that moves you in the direction of the attack. For example, if your character is hit from a character directly in front of themselves, they will be knocked backwards.

We also create functionality to select a random animation from a list, giving us the option to include multiple versions of each direction damage type. For example, you could have 3 forward damage animations and you would select a random animation each time the forward damage sequence is played.

Lastly, we make it so if desired, a damage animation will not repeat itself. For example, if the last animation your character played was forward_damage_01, and your list contains forward_damage_01, forward_damage_02 and forward_damage_03, then your randomized options will only consist of forward_damage_02 and forward_damage_03.

► DEV LOGS (Second Channel)
https://www.youtube.com/@SebbyGraves

► JOIN OUR DISCORD
https://discord.gg/jC6EXKa9Fj

► SUPPORT ME ON PATREON!
http://www.patreon.com/SebastianGraves

► ASSET STORE PAGE (Animations & Models)
https://assetstore.unity.com/publishers/58059

► FREE ANIMATION WEBSITE
https://www.mixamo.com/#/?page=1&query=Hit

► FOLLOW ME IN INSTAGRAM!
https://www.instagram.com/tragicallycanadian/

► EPISODE 28
https://youtu.be/V9ECRaWYQQs




Other Videos By Sebastian Graves


2023-11-18Create ELDEN RING in Unity ► EP. 35 A.I CHARACTERS (Pt. 2)
2023-11-11Create ELDEN RING in Unity ► EP. 34 A.I CHARACTERS (Pt. 1)
2023-11-04Create ELDEN RING in Unity ► EP. 33 WEAPON COMBOS
2023-10-28Create ELDEN RING in Unity ► EP. 32 Weapon Switching & UI
2023-10-21Create ELDEN RING in Unity ► EP. 31 WEAPON ITEM BASED ACTIONS (Pt. 4)
2023-10-19"ZOMBIE" ANIMATION PACK (Souls Like) [Unity Asset Store]
2023-10-14Create ELDEN RING in Unity ► EP. 30 LOCK ON (Pt. 3)
2023-10-07Create ELDEN RING in Unity ► EP. 29 LOCK ON (Pt. 2)
2023-09-30Create ELDEN RING in Unity ► EP. 28 LOCK ON (Pt. 1)
2023-09-26Create DARK SOULS in Unity ► EP. 151 Netcode Refactor (PT. 11) || A.I
2023-09-23Create ELDEN RING in Unity ► EP. 27 DIRECTIONAL BASED DAMAGE ANIMATION
2023-09-16Create ELDEN RING in Unity ► EP. 26 CHARACTER EFFECTS (Pt. 2)
2023-09-09Create ELDEN RING in Unity ► EP. 25 WEAPON ITEM BASED ACTIONS (Pt. 3)
2023-09-01Create ELDEN RING in Unity ► EP. 24 WEAPON ITEM BASED ACTIONS (Pt. 2)
2023-08-25Create ELDEN RING in Unity ► EP. 23 WEAPON ITEM BASED ACTIONS (Pt. 1)
2023-08-25Create ELDEN RING in Unity ► EP. 22 JUMPING & FALLING (Pt. 3)
2023-08-19Create ELDEN RING in Unity ► EP. 21 BODY ACCURATE HIT DETECTION
2023-08-15Create DARK SOULS in Unity ► EP. 149 Netcode Refactor (PT. 9) || Archery
2023-08-12Create ELDEN RING in Unity ► EP. 20 WEAPON ITEMS (Pt. 2)
2023-08-05Create ELDEN RING in Unity ► EP. 19 WEAPON ITEMS (Pt. 1)
2023-08-01Create DARK SOULS in Unity ► EP. 148 Netcode Refactor (PT. 8) || UI Ownership