Camera-Relative Movement in Unity 3D Explained

Published: 01 January 1970
on channel: 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


Watch video Camera-Relative Movement in Unity 3D Explained online without registration, duration hours minute second in high quality. This video was added by user iHeartGameDev 01 January 1970, don't forget to share it with your friends and acquaintances, it has been viewed on our site 45,824 once and liked it 1.8 thousand people.