Тёмный

How to Animate a Character from Mixamo in Unity - Full Walkthrough 

Philipp Dominic Siedler
Подписаться 1,5 тыс.
Просмотров 58 тыс.
50% 1

#unity​ #character​ #animation​​ #mixamo #gamedev
00:00 - Create Unity Project
02:00 - Download Character Model and Animations
06:25 - Set up Animator Controller
13:25 - Create Player
14:45 - Player Controller Script
27:50 - Camera Controller Script
Mixamo:
www.mixamo.com/
Brackeys First Person Movement Tutorial:
• FIRST PERSON MOVEMENT ...

Опубликовано:

 

29 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 105   
@L.Stefan
@L.Stefan Год назад
My man .. My man!!! I jumped out of my desk with happiness when I saw the animator setup. I didn't know these settings were possible and they benefit me enormously because when using the starter assets third person character you are given the X and the Y ... so this is the perfect way to fully animate that controller!
@JohnnySix
@JohnnySix 5 месяцев назад
Really handy tutorial, this was the first one I've seen that actually helps make sense of some of the animator controls.
@janukickass
@janukickass 2 года назад
Fixed all my problems with Mixamo Animation. Thank you so much Bro.
@hadescheats
@hadescheats Год назад
Man U are the absolute best keep up the great work it helped me so much😊
@amdphen
@amdphen 2 года назад
Thanks bro. Make more tutorials. You teach very well.
@underatedstar
@underatedstar Год назад
Only just started the tutorial but instantly liked when I saw Marc Rebillet in your subscriptions lol
@PhilippDominicSiedler
@PhilippDominicSiedler Год назад
🤣
@stefanoluise1
@stefanoluise1 2 года назад
If you have problems with jump, i.e. sometimes it takes the key pressed and sometimes it doesn't, please note that getting the input in FixedUpdate is not a good practice. Fixed update does not run every frame so it will not always get your button down. It would be better to get the input in Update and send it to FixedUpdate.
@TalhaRiaz197
@TalhaRiaz197 2 года назад
yes you are Right Update is Better than FixedUpdate
@BBTTheKing
@BBTTheKing 2 года назад
Thanks man, you solved my problem
@Black_Jay_LBS
@Black_Jay_LBS Год назад
Thank you so much it works!
@nastaranebrahimi6486
@nastaranebrahimi6486 3 месяца назад
this was an amazing video
@harukunnn4092
@harukunnn4092 2 года назад
thank you so much!!
@ricksarkar1
@ricksarkar1 6 месяцев назад
thank you bro i love you
@rodneybowman6020
@rodneybowman6020 Год назад
Nice!!
@NiscMC
@NiscMC 2 года назад
You are so underrated
@GR4MPI
@GR4MPI Год назад
Hi, i have weird problem, when im moving mouse the horizontal axis don't work. I read my code 10+ times :D and i think i missed something else. Console registeres the horizontal axis but the player model dont move/steer. EDIT: Solved !... i didnt put player into camera
@michaelscottstudy
@michaelscottstudy 2 года назад
23:48 why i cant drag my player to the anim like you did?
@peachyleona
@peachyleona Год назад
hello! thankyou for the tutorial!! it helps me alot mainly cuz i'm beginner :') your explanations helps me understand better but i have problem with my jump. my character can't jump. do you have tips on it?
@armedmule8070
@armedmule8070 2 года назад
i cant seem to drag my xbot into my anim section on the player control any ideas?
@om2c
@om2c 2 года назад
i cant jump and animation jump is not work Please Help :(
@softgraphic9445
@softgraphic9445 2 года назад
This is good, but it's better to add the running part to it.
@GR4MPI
@GR4MPI Год назад
Hello again, so i made my character crouch jump fall and die, but im still having problem that when you stay idle and then a -> d or inverted the animation is not smooth and it skips the idle part, the movement blend tree is the same as yours so my question is how to fix this
@betray1077
@betray1077 Год назад
I followed it but my character keeps glitching animation and does not move much when I move it goes back to where it was standing pls
@wanbungus
@wanbungus 2 года назад
all my models work in the animator, but in the game when i play only the idle shows and then my character falls over. how do i fix?
@JJWrRaider
@JJWrRaider 2 года назад
I have a couple errors and im unable to access playmode becuase player controller doesnt contain grounded and vector3 doesent contain normilize and keycode doesnt contain space
@serhataslan454
@serhataslan454 2 года назад
Can someone help me about this code my character just strafes through the right and doesnt jump
@AY-js3nx
@AY-js3nx Год назад
hi i have a error that says parameter jump does not exist its the same with vertical and horizontal can you help pls?
@meno437
@meno437 2 года назад
Man the body is moving but i dont see the animations
@dwantaaji3805
@dwantaaji3805 Год назад
my line of code won't work, wonder which one went wrong, would you share your code please?
@IamNeighborlee
@IamNeighborlee 5 месяцев назад
Does this work for newest unity 2022.3 ? This is the simplest , easiest to follow I've seen.
@Skrueeuen
@Skrueeuen Год назад
How can i make the animations play on another controller?
@ikhwanmz
@ikhwanmz 2 года назад
bro you should do the mobile version of character controller! im waiting for it!
@celianbrun8842
@celianbrun8842 Год назад
hi, how can we implement a run system to this script ?
@galberger3937
@galberger3937 Год назад
To add more animations to the animator i just need to download more animtions from mixamo and to do the same with the trrensiser arrows ?
@PhilippDominicSiedler
@PhilippDominicSiedler Год назад
Correct!
@Blue.Studio.
@Blue.Studio. 9 месяцев назад
when i put anim it odes not work can some one help me pls
@biotest05
@biotest05 Год назад
the jump only works while moving, how do i fix that?
@TalhaRiaz197
@TalhaRiaz197 2 года назад
When I release my Button my Character came to 0 position why pleae Help
@guitarist1274
@guitarist1274 2 года назад
Hey can you help me?🥺 how can i download unity 3d? Or noesis?🥺
@shivangipriya4153
@shivangipriya4153 Месяц назад
hi man, Can make a video for character FBX has a face to VRM using unity
@aryantyagi100
@aryantyagi100 2 года назад
do you need to have an avatar?
@xTaytu
@xTaytu Год назад
After 1 sec my Character stops doing the animations. Any clues?
@skyclaw255
@skyclaw255 2 года назад
i really have a hard time to click Jump, i dont know how to fix it please help T^T
@joeyestrada9071
@joeyestrada9071 7 месяцев назад
I set it up just like you, but in the inspector when I go to see the movements of the character he's stuck in the ground and not moving. Anyone know how to fix this?
@RobertMarshall-xr3ss
@RobertMarshall-xr3ss 7 месяцев назад
Try these forums, might have something you will find useful
@gamingeditorJay
@gamingeditorJay 2 года назад
Can You Upload Script On Google drive I'm having Problemes coding it
@shadowartz9968
@shadowartz9968 2 года назад
im getting this error even though I followed the code to a T, any suggestions on how to fix? Assets/PlayerController.cs(34,18): error CS0102: The type 'Playercontroller' already contains a definition for 'Grounded' using System.Collections; using System.Collections.Generic; using UnityEngine; public class Playercontroller : MonoBehaviour { public Animator anim; private Rigidbody rb; public LayerMask layerMask; public bool Grounded; // Start is called before the first frame update void Start() { this.rb = GetComponent(); } private void FixedUpdate() { Grounded(); Jump(); Move(); } private void Jump() { if(input.GetKeyDown(KeyCode.Space) && this.grounded) { this.rb.AddForce(Vector3.up * 4, ForceMode.Impulse); } } private void Grounded() { if(Physics.CheckSphere(this.transform.position + Vector3.down, 0.2f, layerMask)) { this.grounded = true; } else { this.grounded = false; } this.anim.SetBool("jump", this.grounded); } private void Move() { float verticalAxis = Input.GetAxis("Vertical"); float horizontalAxis = Input.GetAxis("Horizontal"); Vector3 movement = this.transform.forward * verticalAxis + this.transform.right * horizontalAxis; movement.Normalize(); this.transform.position += movement * 0.04f; this.anim.SetFloat("vertical", verticalAxis); this.anim.SetFloat("horizontal", horizontalAxis); } }
@TieuLongLafrance-zq6ew
@TieuLongLafrance-zq6ew 2 месяца назад
where do we can find your code?
@JulianFlaco85
@JulianFlaco85 Год назад
"Assets\PlayerController.cs(57,52): error CS1513: } expected" what do i fix here?
@PhilippDominicSiedler
@PhilippDominicSiedler Год назад
The error says you are missing a „}“ in line 52
@mygamingimagination8173
@mygamingimagination8173 3 года назад
This is a great tutorial. i was wondering if you know how to make the camera first person though. i cant find any tutorials on how to make only the head move with the camera.
@PhilippDominicSiedler
@PhilippDominicSiedler 3 года назад
Yes, if you have setup the camera in the same way as I, that is, in the same hierarchical way, you just move the camera to your desired position, on your case head height, and that’s it.
@imneetstudio4391
@imneetstudio4391 2 года назад
Ya, anda bisa ubah koordinat menuju posisi kepala karakter anda
@unbelievablenoye7178
@unbelievablenoye7178 2 года назад
Hi, i have a problem with rigidbody and plane collider, so when i play the game Player falls troughthout the plane, can you help me?
@PhilippDominicSiedler
@PhilippDominicSiedler 2 года назад
Either plane or player don't have a rigidbody
@unbelievablenoye7178
@unbelievablenoye7178 2 года назад
thanks, i'm waiting for your next videos
@kingshukbhowmick8343
@kingshukbhowmick8343 2 года назад
Hii sir , i am facing a CSO246 THE TYPE OR NAMESPACE NAME PLAYCONTROLLER CANT BE FOUND... ANY SOLUTION ?
@GR4MPI
@GR4MPI Год назад
instead of PlayController try PlayerController
@steelmorgan5775
@steelmorgan5775 3 года назад
When I type in some of the stuff on Microsoft studio it doesn't show up like fixed update. Do you know how I can fix this? im at 17:22 seconds into the tutorial
@steelmorgan5775
@steelmorgan5775 3 года назад
I also dont have the cube symbol like the one fixed update has and get componet do you know how I could get them?
@PhilippDominicSiedler
@PhilippDominicSiedler 3 года назад
@@steelmorgan5775 Go to Edit > Preferences > External Tools > External Script Editor and change to Visual Studio, in my case for example: Visual Studio Community 2019
@steelmorgan5775
@steelmorgan5775 3 года назад
@@PhilippDominicSiedler thank you so much
@DieterSoost
@DieterSoost 4 месяца назад
Nice work, simpel and effective, but... The Character do not move forward, after Animation he fall back to start position... any idea of that ? Btw: Runs under 2022.3
@RapidRealityRJC
@RapidRealityRJC 2 месяца назад
when you download the animation you need to tick 'In Place'
@user-ky1up8lx7y
@user-ky1up8lx7y 4 месяца назад
I have a strange issue here where the model will not stop jumping no matter what, is there a way to fix this?
@forgottendemon3429
@forgottendemon3429 3 месяца назад
ok so he does fix it in the video however in the lower part of the private void Grounded() place an "!" before "this.grounded"
@soulminds
@soulminds 2 года назад
Bro Make one with mobile UI
@Gnagichetty96
@Gnagichetty96 2 года назад
help :- Operator '*' cannot be applied to operands of type 'Vector3' and 'double'
@PhilippDominicSiedler
@PhilippDominicSiedler 2 года назад
Possibly try float 🙂
@Gnagichetty96
@Gnagichetty96 2 года назад
@@PhilippDominicSiedler thanks
@nderscore8
@nderscore8 2 года назад
At 9:38 i don't have conditions true and false, only greater and less. When i put space..parameter type "jump" does not match. Please help
@choledocholithiasis
@choledocholithiasis 2 года назад
make sure "jump" perfectly capitalised in both the script and the animator
@nderscore8
@nderscore8 2 года назад
@@choledocholithiasis Now character is jumping but without animation..tried to rewrite code, but same problem, thanks !!
@choledocholithiasis
@choledocholithiasis 2 года назад
@@nderscore8 So it's jumping now but there's no animation?
@nderscore8
@nderscore8 2 года назад
@@choledocholithiasis yes, is jumping but without animation
@choledocholithiasis
@choledocholithiasis 2 года назад
@@nderscore8 Are you sure you've set up all the booleans in the transitions right?
@kavindu3443
@kavindu3443 3 года назад
Hello we can use mixamo character in our game and publish commercially ?
@PhilippDominicSiedler
@PhilippDominicSiedler 3 года назад
Probably need to figure that out in the terms and conditions on Adobe/mixamo
@jasond5489
@jasond5489 3 года назад
Yes, their site says the following (copy pasted): You can use both characters and animations royalty free for personal, commercial, and non-profit projects including: Incorporating characters into illustrations and graphic art 3D printing characters Creating films Creating video games
@PhilippDominicSiedler
@PhilippDominicSiedler 3 года назад
@@jasond5489 Good to know, thanks for sharing :)
@RealOhpeee
@RealOhpeee 2 года назад
Can you post your codes on mediafire or something
@supergirl1892
@supergirl1892 11 месяцев назад
He wouldn't do that...reason code has bugs....
@RealOhpeee
@RealOhpeee 11 месяцев назад
@@supergirl1892 ahhh bro
@cahydra
@cahydra 2 года назад
My character is floating above ground whenever I play an animation, mercy help
@harukunnn4092
@harukunnn4092 2 года назад
Turn on gravity on the game objects rigid body
@cahydra
@cahydra 2 года назад
@@harukunnn4092 Its the animation that was floating not the gameObject itself, i sort of fixed it by chaning the root y offset on the anim
@dienmai3251
@dienmai3251 2 года назад
I have jump issue..cannot jump
@wanbungus
@wanbungus 2 года назад
i have jump issue… i cannot stop jumping
@sooryas3821
@sooryas3821 3 года назад
Its useful. But I have some issues from this tutorial. When I press jump, the xbot position is increase. I tried many of options and scripts. But nothing changes.
@PhilippDominicSiedler
@PhilippDominicSiedler 3 года назад
Is gravity enabled on the rigid body?
@sooryas3821
@sooryas3821 3 года назад
@@PhilippDominicSiedler yeah.
@sooryas3821
@sooryas3821 3 года назад
@@PhilippDominicSiedler If you don't mind, can you send your mail id for share my clip.
@ai_stories_daily_tv
@ai_stories_daily_tv 9 месяцев назад
12:54
@Stealthy8Gaming
@Stealthy8Gaming 2 года назад
19:09
@user-yp1zy9dv4c
@user-yp1zy9dv4c 2 года назад
InvalidOperationException: You are trying to read Input using the UnityEngine.Input class, but you have switched active Input handling to Input System package in Player Settings. UnityEngine.Input.GetKeyDown (UnityEngine.KeyCode key) (at :0) PlayerControllerYbot.Jump () (at Assets/PlayerControllerYbot.cs:29) PlayerControllerYbot.FixedUpdate () (at Assets/PlayerControllerYbot.cs:23)
@imroul1123
@imroul1123 2 года назад
Do you have discord account, i want to ask you some question, i make my project with all step but my animation is be risked
@bababooey1492
@bababooey1492 2 года назад
Assets\PlayerController.cs(56, 105): error CS1002: ; expected
@PhilippDominicSiedler
@PhilippDominicSiedler 2 года назад
your missing a ";"
@bababooey1492
@bababooey1492 2 года назад
@@PhilippDominicSiedler You can please put in the description a download link for PlayerController
@se5d
@se5d 9 месяцев назад
I guess you are to F good to post that script on a cloud. and all 42.000 have to retype it manually
@PhilippDominicSiedler
@PhilippDominicSiedler 9 месяцев назад
😅 - you are actually right, I will try to find it and upload! However, a lot of people lean by doing (including me).
Далее
FIRST PERSON MOVEMENT in Unity - FPS Controller
23:53
220 volts ⚡️
00:16
Просмотров 639 тыс.
Third Person Movement (With Animations) Unity Tutorial
11:25
Animated Character Jump (Unity Tutorial)
16:03
Просмотров 76 тыс.
I Made a Game in 24 Hours (UE5 AS A BEGINNER)
8:28
Просмотров 104 тыс.
Never use the Unity Animator EVER AGAIN - Full Guide
36:27
Player Movement using Animator | Unity
8:14
Просмотров 301 тыс.