Camera-Relative Movement in Unity 3D Explained

Опубликовано: 01 Январь 1970
на канале: iHeartGameDev
45,824
1.8k

What the heck does all this code mean?! Today we’ll break down every line so that you can move your characters relative to the camera’s rotation in Unity 3D! Learn the basics of Vectors and SPACE and how to transform between the two. Put your programming hat on and let’s get started!

ACCESS PROJECT FILES & SUPPORT THE CHANNEL:
💛   / iheartgamedev  
iHeartGameDev Merch:
💛 https://www.iheartgamedev.com

WANT MORE?
Check out previous videos in this growing series of tutorials:
✅    • Character Controllers  
✦ Like the vid? Please consider Subscribing!
https://bit.ly/2YdIb6j

SOCIAL:
✦ Discord
  / discord  
✦ Twitter
  / iheartgamedev  

LINKS FROM THE VIDEO:
🤖 Download Jammo for YOUR game:
https://assetstore.unity.com/packages...
⭐ And Check Out @Mix and Jam !
   / mixandjam  

►TIMESTAMPS:
Intro: 0:00
Camera Relative Overview: 0:32
What are Vectors: 1:32
Vector3s Explained: 2:08
Directional Unit Vectors: 2:56
First Code Breakdown: 3:52
Moving GameObjects: 4:47
Coordinate Spaces Explained: 5:34
Moving Gameobjects in Space: 8:58
Second Code Breakdown: 9:50
Rotating Vectors Explained: 10:23
Rotating Vectors Example: 12:00
Moving in World and Local Space: 14:05
Removing Y Value to Stay Grounded: 15:30
Last Recap: 16:55
Final Words: 17:56


Смотрите видео Camera-Relative Movement in Unity 3D Explained онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал iHeartGameDev 01 Январь 1970. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 45,824 раз и оно понравилось 1.8 тысяч посетителям.