Тёмный
iHeartGameDev
iHeartGameDev
iHeartGameDev
Подписаться
iHeartGameDev is a channel all about game development. Together we explore the ins and outs of the Unity game engine and learn best practices in programming through highly detailed tutorials that break everything down to be as beginner-friendly as possible. From character animations, to camera systems and so much more: there is so much to learn and share as we progress on our game dev journeys!
Programming a BETTER state machine
10:16
8 месяцев назад
Welcome to iHeartGameDev | 2023
1:03
Год назад
C# Coding Conventions in Unity
2:16
Год назад
Комментарии
@cartruck4118
@cartruck4118 День назад
😲 😴
@greedy_onigiri
@greedy_onigiri 2 дня назад
Wonderful tutorial. Clear, concise, and extremely informative. I've yet to see any tutorial go through such lengths to explain these features. THANK YOU!!
@KingdomOfHeavenPictures
@KingdomOfHeavenPictures 2 дня назад
Hey! You're a good teacher. Well done. Subbed.
@LariDKdraws
@LariDKdraws 2 дня назад
Can i just say im super enjoying your videos. I absolutely love that you explain things throughly. You are amazing thank you so so much. Ive subscribed and I like all the videos I watch. thank you so much!
@bogalok588
@bogalok588 2 дня назад
Ty so much
@asver8409
@asver8409 2 дня назад
Я плохо знаю английский и редко смотрю видео на неём, но мне очень нравятся ваши лекции. Вы говорите чётко, лаконично, пишите понятный код и объясняете всё необходимое. Спасибо!
@georgeheinz7074
@georgeheinz7074 3 дня назад
the headrig works for iphone 15 pro max? thank you
@nrtqqgaming8729
@nrtqqgaming8729 4 дня назад
Fix to script if your void Awake dosent work :D Change Player input to PlayerControls private PlayerControls name; controls = new PlayerControls(); name.ActionMapName.ActionsName.performed :)
@ItzSylvan
@ItzSylvan 4 дня назад
the fit goes crazzzzy - now imagine coming into the office with that
@iHeartGameDev
@iHeartGameDev 4 дня назад
We do have a nice studio... just saying!
@thefirebeanie5481
@thefirebeanie5481 5 дней назад
do you have this tutorial for player movment? its kind of hard to work backwards using a past tutorial for this state machine but the tutorial for this is animation not movement, thanks!
@obsidiantaken12
@obsidiantaken12 5 дней назад
When I turned on the camera I got a error that said argument out of range must be non negative and less than the size of the collection how do I fix that
@madinsomniac5765
@madinsomniac5765 5 дней назад
I can seem to connect this state machine to any of the state scripts This is my first time using a state machine and i have no idea what i am doing wrong. Any kind of help or advince would be greatly apreciated
@user-nw8dd2pl7i
@user-nw8dd2pl7i 7 дней назад
love you
@racrity
@racrity 8 дней назад
Thanks a lot <3
@aritrachatterjee4257
@aritrachatterjee4257 8 дней назад
Anybody facing a problem where, the box collider is detecting only the player and nothing else?
@luka-vln
@luka-vln 10 дней назад
Can someone help me adding backwards movement to this code? i have a backwards anim with pos 0, -0.5.
@eliran_sh
@eliran_sh 11 дней назад
Good Video! ❤
@gloups825
@gloups825 12 дней назад
hi @iHeartGameDev, i discovered your channel a few days ago and i find that your approach to code in terms of quality and explanation is one of the best i've seen on youtube. i'm planning to make my first real game and i'd like to use the simplest and most modular architecture. Do you think that using a State Machine as the GameManager (initialise, restart, fail, succeed) and the Observer Pattern with scriptable objects for all the other game logic, such as the Input Reader for example, would correspond to this?
@TheRubenazo
@TheRubenazo 12 дней назад
I know this is not the video, but you left on prior StateManager videos about the concept of GetNextState and explaining in detail how it goes from one state to the other. If the nextStateKey is equals to .GetNextState() (shouldn't be named GetState because it's getting the same one?) and then checks again if it's equal to the same thing... How the hell do we code so the manager goes from one state to the other?
@TheRubenazo
@TheRubenazo 12 дней назад
It's incredibly confusing
@BlenderUnity
@BlenderUnity 12 дней назад
boi I'm l'm loving this series!
@iHeartGameDev
@iHeartGameDev 12 дней назад
Thank you 🙏
@Dr3ampunk
@Dr3ampunk 12 дней назад
Assets\animationStateController.cs(40,58): error CS1026: ) expected Assets\animationStateController.cs(45,2): error CS1513: } expected i got these errors please help.
@Dr3ampunk
@Dr3ampunk 12 дней назад
Assets\animationStateController.cs(40,58): error CS1026: ) expected Assets\animationStateController.cs(45,2): error CS1513: } expected i got these errors.
@pimmel_news
@pimmel_news 14 дней назад
if i wanted a c++ type of script I would get crysis engine
@lukegf0
@lukegf0 14 дней назад
Thanks for this great video! I am interested in motion capture and I definitely like to see a tutorial video about it, specifically how to use the captured motions in Unity.
@zwenkwiel816
@zwenkwiel816 15 дней назад
Whats the point of this stringtohash stuff? Like how does adding a bunch of integer fields optimize your code? It basically just converts text to numbers, right? How is that better?
@iHeartGameDev
@iHeartGameDev 15 дней назад
Hi! It is a slight performance increase!
@Jakes_psyche
@Jakes_psyche 16 дней назад
the only thing i learned from this is to not use blend trees
@iHeartGameDev
@iHeartGameDev 15 дней назад
lmao
@andreq6924
@andreq6924 16 дней назад
Not how to animate... how to add someone else's animations...
@axon266
@axon266 17 дней назад
Learning A LOT from your videos!! Thanks!!!
@iHeartGameDev
@iHeartGameDev 17 дней назад
Thank you for watching! Hope you enjoy my other content!
@jimmyyu3383
@jimmyyu3383 17 дней назад
Hi, i just wanna let you know that i learnt various state machine and i think yours is best for me as a beginner. I implemented a similar state machine in my ebook and specifically mention your RU-vid channel. The book title is How I get tricked by Unity and it is on amazon now. Please there is no need to buy or advertise. I get only penny out of this book and i just try to share how beginners like me can code in Unity. I put your link on page 519. If you wish to have a look, please feel free to drop me a note and i can print screen. Anyway, thank you very much for your sharing! Keep up your good work. Flamming
@iHeartGameDev
@iHeartGameDev 15 дней назад
Thank you for the callout! That's incredibly kind!
@iurimonteiro4767
@iurimonteiro4767 17 дней назад
rokoko is just horrible xD
@drucartier2164
@drucartier2164 17 дней назад
Why..? I was thinking about getting some stuff from them
@iHeartGameDev
@iHeartGameDev 17 дней назад
I’ve had a really solid experience with my gear. Do you mind elaborating? Have you used the smart suit pro II and smart gloves or are you talking about older products?
@atlanteum
@atlanteum 18 дней назад
Can the angle of the bracket holding the iPhone be adjusted? Is it able to tilt up and down in order to center the face properly? Thank you in advance -
@iHeartGameDev
@iHeartGameDev 17 дней назад
I’ll check for you when I’m home!
@atlanteum
@atlanteum 17 дней назад
@@iHeartGameDev WooHoo!! Thanks!
@s_abhinav
@s_abhinav 18 дней назад
The quality of the videos are great!
@iHeartGameDev
@iHeartGameDev 15 дней назад
Yay, thank you!
@unitynocode
@unitynocode 18 дней назад
Very impressive ! Everyone will buy this after Mixamo ends the free use on their site. 😃
@gam3Pippo
@gam3Pippo 18 дней назад
hey this not alwats triggers for me, if i smash the button multiple times at some point it miss to call the function
@silasselvaraj410
@silasselvaraj410 20 дней назад
NOT sure but ig u just showed ur ip in the wifi section, idk but u shud hide it cus anyone can get ur location then 5:08
@iHeartGameDev
@iHeartGameDev 20 дней назад
Hey there! Thank you for the concern! IP addresses give general location data, but I’m pretty open about the fact that I live in New York at the moment! 😄
@pokipokepoke
@pokipokepoke 16 дней назад
Thats his LAN IP anyways. Can't do anything with that
@irtezamasud1079
@irtezamasud1079 20 дней назад
Cool. Lets do a shot and take it to unreal metahuman with facial mesh.
@RokokoMotion
@RokokoMotion 19 дней назад
Can definitely do this with the Headrig!
@matteo.grossi
@matteo.grossi 20 дней назад
No offense, but If you say Rokoko is the highest quality motion capture available to any developer, you either don't know what you are talking about, or you are lying.
@godonholiday
@godonholiday 20 дней назад
🤯 It’s a commercial for Rokoko.
@RokokoMotion
@RokokoMotion 19 дней назад
Fair :) I think the key word here being "any". A lot of professional solutions optical are much more expensive. Our goal is to make motion capture more accessible for everyone!
@matteo.grossi
@matteo.grossi 19 дней назад
@@RokokoMotion You are not competing with optical, but with other inertial and AI solutions. The only advantage point of Rokoko is a lower entry price. Data quality is nowhere near your main competitors (you know who i am referring to and you also know what i think about them :D ).
@ncssravan5527
@ncssravan5527 14 дней назад
I believe he said "indie developers" and not "any developers"😅
@matteo.grossi
@matteo.grossi 13 дней назад
@@ncssravan5527 Not sure about that, but even in that case that statement would be highly debatable.
@tehPete
@tehPete 20 дней назад
Pretty nice; the handling of the leg animation is clearly the next big hurdle, though it's not really a problem if your animating everything from the waist down another way. The off-balance positioning of the legs triggered an anxiety response I wasn't expecting!
@iHeartGameDev
@iHeartGameDev 20 дней назад
Hahaha sorry about that! To be honest, the leg data was normally pretty great right after calibration!
@PotatoManager420
@PotatoManager420 20 дней назад
Animations, animators, procedural animations, and now motions capture. This is sure is the next level!
@iHeartGameDev
@iHeartGameDev 20 дней назад
Thanks so much for the support, PotatoManager!!
@davebertaud
@davebertaud 20 дней назад
Lol, I thought you were dressed like Solid Snake in the thumbnail
@iHeartGameDev
@iHeartGameDev 20 дней назад
Could be my first cosplay! 😂
@davebertaud
@davebertaud 20 дней назад
@@iHeartGameDev lol
@eprohoda
@eprohoda 20 дней назад
Iheartgamedev~thank you- amazing sharing! 🎥
@iHeartGameDev
@iHeartGameDev 20 дней назад
Thank you for watching! I appreciate it!
@evolvedant
@evolvedant 20 дней назад
That's pretty cool, I am very interested in someone making an app so the motion tracking data is sent over OSC to VRChat so you can have that kind of motion tracking in Social VR. Also, how long does it track you well, before you have to recalibrate? As well, how long is the calibration process, it looked like it was a quick stand still and click a button step, is it that simple every time?
@iHeartGameDev
@iHeartGameDev 20 дней назад
Agreed! I’m surprised that doesn’t exist yet. And yes, the calibration process anytime it gets out of sync is just 3 seconds!
@iHeartGameDev
@iHeartGameDev 20 дней назад
Hey everyone! First time making a video like this -hope you like it! I was really stoked when Rokoko reached out to me about working with them. I’ve been a fan basically since I started on RU-vid so it was so cool to finally get in touch! Any videos y’all would be interested in having covered? Let me know in the comments! Cheers! -Nicky
@sakeb1
@sakeb1 21 день назад
me after watching this video: going back to every project and separating all the jumbled up code into different states
@iHeartGameDev
@iHeartGameDev 15 дней назад
Happy to hear that the tutorial is helpful!
@PaxAugustaGame
@PaxAugustaGame 21 день назад
Amazing Tutorial! logical structure, no nonsense, great! thanks
@iHeartGameDev
@iHeartGameDev 15 дней назад
Glad you liked it!
@user-yl8dv3wp7t
@user-yl8dv3wp7t 24 дня назад
So, did everything that was said in the video, but only the rig rotates, and not the actual 3D model, also I have no idea how to put the avatar in the animator on(it doesnt let me drag the armature in for some reason), so did I mess up in blender or is it the avatar?
@Sol3Nomad
@Sol3Nomad 25 дней назад
you are an amazing human being.
@blepomorph419
@blepomorph419 25 дней назад
Is this only applicable to newer versions of Unity? Getting an error that EState can't be used as a parameter.