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.
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 🔫
►💻 Project Files Available on Patreon 💻
►🔗 Relevant Video Links 🔗
@1.1/manual/
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:
ᐅEditor Console Pro:
ᐅRainbow Folders 2:
🤝 Support Me 🤝
Patreon:
Donate:
►⏱️ 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 💗
💬 Discord Server 💬
🐦 Twitter 🐦
📚 Facebook 📚
🎵 Music 🎵
Ambient Gold
👍 Like and Subscribe! 👍
🖥️ Computer Setup 🖥️
*As an Amazon Associate I earn from qualifying purchases.
#madewithunity #gamedev #unity
1 view
31
1
3 weeks ago 00:13:11 1
Тысячи домов сгорели в США: пожар в Лос-Анджелесе. Землетрясение в Тибете. Эпидемия в Британии
3 weeks ago 00:03:51 1
정국 (Jung Kook) ’3D (feat. Jack Harlow)’ Official MV
4 weeks ago 00:00:17 3
Cappie // Mita😳- Rock n Roll -【MMD MiSide 4K | 60FPS】
4 weeks ago 00:36:36 1
Why The Naruto Manga Is So Much Better Than The Anime