15 Free YouTube subscribers for your channel
Get Free YouTube Subscribers, Views and Likes

Adding Animations | Blend Trees Layers u0026 Animation Rigging - 3rd Person Shooter - Unity Tutorial

Follow
samyam

Learn how to add animations to your characters via Mixamo (free characters and animations) and the Animator component. We will learn how to add preexisting animations and also add dynamic and procedural animations using Unity's Animation Rigging Package.

ᐅGet the full Source Code Bundle to my Unity Tutorials
https://samyam.itch.io/samyamfulls...

First, we'll choose a model and animation in Mixamo, import it into Unity and set up a Humanoid rig. From there we will add a Strafe animation from Unity's Standard Assets on Github and use a Blend Tree to easily and smoothly blend between the different strafing directions. For our animation scripting, we will be doing a cross fade to our jumping animation as a sort of trigger.

Then, we will download and use the Animation Rigging package to dynamically grip the gun with the character's hands and a Two Bone constraint. We will also have the player body aim up and down with a Multi Aim Constraint to aim at a target direction.

Once we set up dynamic animations, we will add a recoil animation which our set up Animation Rigging will help with. The animation is added in a separate layer to have different running and recoil animations playing at the same time.

► 3rd Person Shooter Controller with Cinemachine & Input System Unity Tutorial
   • How to make a 3rd Person Shooter in U...  

► Project Files Available on Patreon
  / 53254441  

► Relevant Video Links
https://www.mixamo.com/
https://github.com/UnityTechnologies...
https://opengameart.org/content/3dlo...
https://docs.unity3d.com/Packages/com...

Disclosure: This post may contain affiliate links, which means we may receive a commission if you click a link and purchase something that we have recommended. While clicking these links won't cost you any money, they will help me fund my development projects while recommending great assets!

Cool Unity Assets
ᐅPeek Editor Toolkit: https://assetstore.unity.com/packages...
ᐅEditor Console Pro: https://assetstore.unity.com/packages...
ᐅRainbow Folders 2: https://assetstore.unity.com/packages...

Support Me
Patreon:   / samyg  
Donate: https://kofi.com/samyam

►⏱ Timestamps ⏱
0:00 Intro
1:07 Previous Video
1:25 Mixamo Download Model
4:29 Set up Humanoid Model
11:26 Animator Component
13:01 Download Strafe Animation
13:47 Set up Blend Tree
23:30 Smooth Damp Input System Values
26:48 Animator Cross Fade
30:43 Animation Rigging Overview
35:49 Two Bone Constraint Right Hand
43:38 Two Bone Constraint Left Hand
46:46 MultiAim Constraint to Aim Body & Head
51:36 Change Aim Target in Script
53:06 Reparent Gun under Mixamo Spine
54:51 Small Player Shoot Glitch Fix
55:19 Recoil Animation
57:48 Layers
1:07:25 Add Limit to MultiAim Constraint
1:08:00 Outro

THANK YOU TO ALL MY PATRONS FOR MAKING THIS VIDEO POSSIBLE

❯❯❯ My Links ❮❮❮
Patreon
  / samyg  
Discord Server
  / discord  
Twitter
  / samyam_utube  
Facebook
  / samyam.youtube  
Music
Ambient Gold
streambeats.com
Like and Subscribe!

Computer Setup
*As an Amazon Associate I earn from qualifying purchases.
https://www.amazon.com/shop/samyam

#madewithunity #gamedev #unity

posted by toirchighoq