Рет қаралды 38,991
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:
💛 / iheartgamedev
iHeartGameDev Merch:
💛 www.iheartgamedev.com
WANT MORE?
Check out previous videos in this growing series of tutorials:
✅ • Character Controllers
✦ Like the vid? Please consider Subscribing!
bit.ly/2YdIb6j
SOCIAL:
✦ Discord
/ discord
✦ Twitter
/ iheartgamedev
LINKS FROM THE VIDEO:
🤖 Download Jammo for YOUR game:
assetstore.unity.com/packages...
⭐ And Check Out @Mix and Jam !
/ mixandjam
GEAR:
Lumix G7 Camera: amzn.to/3Kks1gZ
Epomaker GK68 Keyboard: amzn.to/3Ke87EB
Samson C01U Pro Mic: amzn.to/33kDdtG
LG 27" Monitor: amzn.to/3qAHFwS
Lepow 15.6" Portable Monitor: amzn.to/3287OtL
Logitech G604 Mouse: amzn.to/3A6jNV4
Audio-Technica ATH-M50X Headphones: amzn.to/3tBaeMT
X-Pen Artist 15.6 Pro Drawing Tablet: amzn.to/3FE5HLI
Apple 15in MacBook Pro Laptop: 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