✔️ Works in 2020.3 ➕ 2021.1
The Dot Product is a useful vector function which has many uses in shaders and gameplay programming. You can use it to calculate lighting, know when a projectile has reached it's apex, or calculate when a creature sees an object. In this video, I'll show you how to use it in various ways!
👋 Subscribe for weekly game development videos!
► https://www.youtube.com/c/nedmakesgam...
👑 Join my Patreon for extra influence over topics, early access to videos, downloadable project files, and more!
► / nedmakesgames
🔗 Check out my website for a searchable list of tutorials!
► https://nedmakesgames.github.io
🔴 Twitch ► / nedmakesgames
🐦 Twitter ► / nedmakesgames
🎮 Discord ► https://discordapp.com/invite/ubxSVBK
📸 Instagram ► / nedmakesgames
👽 Reddit ► / nedmakesgames
🎶 TikTok ► / nedmakesgames
☕ Ko-fi ► https://ko-fi.com/nedmakesgames
🎬 Previous videos
► All bout SmoothStep: • The Basics of SmoothStep, a Useful Sh...
💬 Video transcript
► https://docs.google.com/document/d/1u...
⏲️ Timestamps:
0:00 Intro
0:13 The math
1:26 Using it in Unity
1:47 Lighting
2:18 Physics
2:41 Field of view
3:13 Wrap up and credits
🎖️ Credits and references:
• MarkGX: Drag a GameObject with the mouse - https://answers.unity.com/questions/1...
• Astigmatic: Special Elite font - https://www.fontsquirrel.com/fonts/sp...
• iblendit: Low Poly Rocket - https://sketchfab.com/3d-models/low-p...
Music:
Bleeping Demo by Kevin MacLeod
Link: https://incompetech.filmmusic.io/song...
License: https://filmmusic.io/standard-license
#GameDev #IndieDev #Unity