YOU helped make our State Machine BETTER!
https://www.youtube.com/watc...Let's add a new state and take YOUR advice to make our state machine even BETTER! We'll fix gravity, add a new state in the process and address some minor bugs in this new episode of the Built-In Character Controller series!
ACCESS PROJECT FILES & SUPPORT THE CHANNEL:
💛 https://www.patreon.com/iHeartGameDev
iHeartGameDev Merch:
💛 https://www.iheartgamedev.com
WANT MORE?
Check out previous videos in this growing series of tutorials:
✅ https://www.youtube.com/playlist?list=PLwyUzJb_FNeQrIxCEjj5AMPwawsw5beAy
✦ Like the vid? Please consider Subscribing!
https://bit.ly/2YdIb6j
SOCIAL:
✦ Discord
https://discord.gg/2AxUvsa
✦ Twitter
https://twitter.com/NickyBoccuzzi
LINKS FROM THE VIDEO:
🤖 Download Jammo for YOUR game:
https://assetstore.unity.com/packages/3d/characters/jammo-character-mix-and-jam-158456
⭐ And Check Out @Mix and Jam !
https://youtube.com/MixAndJam
GEAR:
Lumix G7 Camera: https://amzn.to/3Kks1gZ
Epomaker GK68 Keyboard: https://amzn.to/3Ke87EB
Samson C01U Pro Mic: https://amzn.to/33kDdtG
LG 27" Monitor: https://amzn.to/3qAHFwS
Lepow 15.6" Portable Monitor: https://amzn.to/3287OtL
Logitech G604 Mouse: https://amzn.to/3A6jNV4
Audio-Technica ATH-M50X Headphones: https://amzn.to/3tBaeMT
X-Pen Artist 15.6 Pro Drawing Tablet: https://amzn.to/3FE5HLI
Apple 15in MacBook Pro Laptop: https://amzn.to/3AbKdFc
►TIMESTAMPS:
Unity Sponsor: 0:00
Intro: 0:46
Current Project Recap: 1:24
Current State Machine: 2:10
Problem One - No Gravity: 2:56
Creating a new state - Fall State: 4:16
Adding Gravity to Fall State: 6:56
Adding Animation to the Fall State: 8:05
IRootState Interface: 11:01
Problem Two - Order of Operations: 12:36
Fixing the Order: 14:16
Problem Three - Character Controller isGrounded: 15:14
Problem Four - Garbage States: 16:51
Caching our states: 17:30
Next States and Next Time: 18:54