@samyam
  @samyam
samyam | Adding Animations | Blend Trees, Layers, & Animation Rigging - 3rd Person Shooter - Unity Tutorial @samyam | Uploaded July 2021 | Updated October 2024, 9 minutes ago.
Learn how to add animations to your characters via Mixamo (free characters and animations) and the Animator component. We will learn how to add pre-existing animations and also add dynamic and procedural animations using Unity's Animation Rigging Package.

ᐅGet the full Source Code Bundle to my Unity Tutorials 🤓
sam-yam.itch.io/samyam-full-source-code-to-all-videos

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 🔫
youtu.be/SeBEvM2zMpY

►💻 Project Files Available on Patreon 💻
patreon.com/posts/53254441

►🔗 Relevant Video Links 🔗
mixamo.com
github.com/Unity-Technologies/Standard-Assets-Characters
opengameart.org/content/3d-low-poly-pistol-with-bullet-shell
docs.unity3d.com/Packages/com.unity.animation.rigging@1.1/manual/ConstraintComponents.html

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: assetstore.unity.com/packages/tools/utilities/peek-editor-toolkit-149410
ᐅEditor Console Pro: assetstore.unity.com/packages/tools/utilities/editor-console-pro-11889
ᐅRainbow Folders 2: assetstore.unity.com/packages/tools/utilities/rainbow-folders-2-143526

🤝 Support Me 🤝
Patreon: patreon.com/samyg
Donate: ko-fi.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 Multi-Aim 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 Multi-Aim Constraint
1:08:00 Outro

💖💖THANK YOU TO ALL MY PATRONS FOR MAKING THIS VIDEO POSSIBLE💖💖

❯❯❯ My Links ❮❮❮
💗 Patreon 💗
patreon.com/samyg
💬 Discord Server 💬
discord.gg/mj3dSnmaZc
🐦 Twitter 🐦
twitter.com/samyam_utube
📚 Facebook 📚
facebook.com/samyam.youtube
🎵 Music 🎵
Ambient Gold
streambeats.com
👍 Like and Subscribe! 👍

🖥️ Computer Setup 🖥️
*As an Amazon Associate I earn from qualifying purchases.
amazon.com/shop/samyam

#madewithunity #gamedev #unity
Adding Animations  | Blend Trees, Layers, & Animation Rigging - 3rd Person Shooter - Unity TutorialPinch to Zoom Detection with the Input System - Unity Tutorialusing ChatGPT be likeCinemachine First Person Controller w/ Input System - Unity Tutoriali made the Barbenheimer game #barbenheimerA Day in the Life of an Indie Game Developer at GDC4 Friends Make a Game without CommunicatingLocal Multiplayer UI with the Multiplayer Event System - Unity TutorialMake Line Rider in Unity Pt.2 - Drawing with the LineRendererI made a game in Godot with No ExperienceEasy Cinemachine Built-In Screen Shake - Unity Tutorialhow i added a jump scare to my horror game #gamedev

Adding Animations | Blend Trees, Layers, & Animation Rigging - 3rd Person Shooter - Unity Tutorial @samyam

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER