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
2 days ago 00:03:18 1
진 (Jin) ’Running Wild’ Official MV
2 days ago 00:04:14 1
Драма в Испании
4 days ago 00:01:20 1
Coca-Cola - Secret Santa (AI-Generated Christmas Ad 2024)
5 days ago 00:04:01 2
Cheeki Breeki: . 2 song ■ feat. Lenich & Kirya
1 week ago 00:18:11 1
Framer Tutorial: Animate Buttons Like a Pro
4 weeks ago 00:02:02 12
DayZ Update Teaser
1 month ago 00:01:22 1
No one’s around to help.
1 month ago 00:03:27 1
FKA twigs - Perfect Stranger
1 month ago 00:03:51 1
정국 (Jung Kook) ’3D (feat. Jack Harlow)’ Official MV
1 month ago 00:42:56 1
Обзор приложения Кошачьи звуки (Android, Google Play) [RUS/ENG]
1 month ago 00:00:12 1
Jane Doe, transparent outfit 👀😳- Phut Hon -【MMD ZZZ 4K | 60FPS】
1 month ago 02:57:29 1
Classical Halloween - Essential Classical Music
1 month ago 00:02:33 1
Nightcore - Take You To Hell (Lyrics)
1 month ago 00:00:34 1
DAN DA DAN Ending but it’s Gege
1 month ago 00:05:44 1
Twin Tribes - Cauldron of Thorns (Official Video)
1 month ago 00:00:10 1
Nicole // Catgirl Nicole, Which nicole do u like?😳- She wolf -【MMD ZZZ 4K | 60FPS】
1 month ago 00:01:14 1
[ Limbus Company ] Don’s Doodle Dance
1 month ago 00:14:41 1
Режим — АД. Хардкорный геймер в другом мире Том 4 Глава 7 - Тиамо Аудиокнига ранобэ
1 month ago 00:03:21 1
The Emptiness Machine (Official Music Video) - Linkin Park
1 month ago 00:02:13 1
(fake cursed ad)
1 month ago 00:04:05 1
French Montana, Swae Lee - Wish U Well (Official Music Video) ft. Lojay, Jess Glynne