Uploaded April 2021 | Updated September 2026, 2 weeks ago
✔️ 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!
► youtube.com/c/nedmakesgames?sub_confirmation=1
👑 Join my Patreon for extra influence over topics, early access to videos, downloadable project files, and more!
► patreon.com/nedmakesgames
🔗 Check out my website for a searchable list of tutorials!
► nedmakesgames.github.io
🔴 Twitch ► twitch.tv/nedmakesgames
🐦 Twitter ► twitter.com/nedmakesgames
🎮 Discord ► discordapp.com/invite/ubxSVBK
📸 Instagram ► instagram.com/nedmakesgames
👽 Reddit ► reddit.com/u/nedmakesgames
🎶 TikTok ► tiktok.com/@nedmakesgames
☕ Ko-fi ► ko-fi.com/nedmakesgames
🎬 Previous videos
► All bout SmoothStep: youtu.be/I6HVbfMx2s4
💬 Video transcript
► docs.google.com/document/d/1uezxMS7InQurHF4eoRy7msIWgxDPFzwvbxpfLnqU4GQ/edit?usp=sharing
⏲️ 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 - answers.unity.com/questions/12322/drag-gameobject-with-mouse.html
• Astigmatic: Special Elite font - fontsquirrel.com/fonts/special-elite
• iblendit: Low Poly Rocket - sketchfab.com/3d-models/low-poly-rocket-bd0df781d7db4db3961eddf0da0d3d9a
Music:
Bleeping Demo by Kevin MacLeod
Link: incompetech.filmmusic.io/song/7012-bleeping-demo
License: filmmusic.io/standard-license
#GameDev #IndieDev #Unity
✔️ 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!
► youtube.com/c/nedmakesgames?sub_confirmation=1
👑 Join my Patreon for extra influence over topics, early access to videos, downloadable project files, and more!
► patreon.com/nedmakesgames
🔗 Check out my website for a searchable list of tutorials!
► nedmakesgames.github.io
🔴 Twitch ► twitch.tv/nedmakesgames
🐦 Twitter ► twitter.com/nedmakesgames
🎮 Discord ► discordapp.com/invite/ubxSVBK
📸 Instagram ► instagram.com/nedmakesgames
👽 Reddit ► reddit.com/u/nedmakesgames
🎶 TikTok ► tiktok.com/@nedmakesgames
☕ Ko-fi ► ko-fi.com/nedmakesgames
🎬 Previous videos
► All bout SmoothStep: youtu.be/I6HVbfMx2s4
💬 Video transcript
► docs.google.com/document/d/1uezxMS7InQurHF4eoRy7msIWgxDPFzwvbxpfLnqU4GQ/edit?usp=sharing
⏲️ 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 - answers.unity.com/questions/12322/drag-gameobject-with-mouse.html
• Astigmatic: Special Elite font - fontsquirrel.com/fonts/special-elite
• iblendit: Low Poly Rocket - sketchfab.com/3d-models/low-poly-rocket-bd0df781d7db4db3961eddf0da0d3d9a
Music:
Bleeping Demo by Kevin MacLeod
Link: incompetech.filmmusic.io/song/7012-bleeping-demo
License: filmmusic.io/standard-license
#GameDev #IndieDev #Unity
![Playing with Particles! Mazoid Unity Game Dev Log [Part 1]
Im making a game in Unity! Please subscribe so you wont miss a video!
Twitch ► https://www.twitch.tv/nedmakesgames
Twitter ► https://twitter.com/nedmakesgames
Blog ► https://nedmakesgames.tumblr.com
Discord ► https://discordapp.com/invite/ubxSVBK
Instagram ► https://instagram.com/nedmakesgames Playing with Particles! Mazoid Unity Game Dev Log [Part 1]](https://i.ytimg.com/vi/_BN_awJqeAQ/mqdefault.jpg)
![Point Lights and Outlines! Tactical Lizard Tamer, Unity Game Dev Log [Part 125]
Im making a game in Unity! It will be a mixture of Pokemon teambuilding on a Fire Emblem / Final Fantasy Tactics style-map. Players will be able to mod in their own monsters and battle online!
Twitch ► https://www.twitch.tv/nedmakesgames
Twitter ► https://twitter.com/nedmakesgames
Blog ► https://nedmakesgames.tumblr.com
Discord ► https://discordapp.com/invite/ubxSVBK Point Lights and Outlines! Tactical Lizard Tamer, Unity Game Dev Log [Part 125]](https://i.ytimg.com/vi/_r7nwrxrtis/mqdefault.jpg)


![Movement Messages! Cannoneer, Unity Game Dev Log [Part 6]
Im making a game in Unity! Please subscribe so you wont miss a video!
Twitch ► https://www.twitch.tv/nedmakesgames
Twitter ► https://twitter.com/nedmakesgames
Blog ► https://nedmakesgames.tumblr.com
Discord ► https://discordapp.com/invite/ubxSVBK
Instagram ► https://instagram.com/nedmakesgames Movement Messages! Cannoneer, Unity Game Dev Log [Part 6]](https://i.ytimg.com/vi/cDRy538YmXM/mqdefault.jpg)
![Smooth Terrain, Finally! Tactical Lizard Tamer, Unity Game Dev Log [Part 150]
Im making a game in Unity! It will be a mixture of Pokemon teambuilding on a Fire Emblem / Final Fantasy Tactics style-map. Players will be able to mod in their own monsters and battle online!
Twitch ► https://www.twitch.tv/nedmakesgames
Twitter ► https://twitter.com/nedmakesgames
Blog ► https://nedmakesgames.tumblr.com
Discord ► https://discordapp.com/invite/ubxSVBK Smooth Terrain, Finally! Tactical Lizard Tamer, Unity Game Dev Log [Part 150]](https://i.ytimg.com/vi/cYNqHTAABlw/mqdefault.jpg)


![Picking a Map! Tactical Lizard Tamer, Unity Game Dev Log [Part 190]
Im making a game in Unity! It will be a mixture of Pokemon teambuilding on a Fire Emblem / Final Fantasy Tactics style map. Players will be able to mod in their own monsters and battle online!
Twitch ► https://www.twitch.tv/nedmakesgames
Twitter ► https://twitter.com/nedmakesgames
Blog ► https://nedmakesgames.tumblr.com
Discord ► https://discordapp.com/invite/ubxSVBK Picking a Map! Tactical Lizard Tamer, Unity Game Dev Log [Part 190]](https://i.ytimg.com/vi/dOU2QMkhJGE/mqdefault.jpg)
![Loading Audio Mixers and Sources! Tactical Lizard Tamer, Unity Game Dev Log [Part 115]
Im making a game in Unity! It will be a mixture of Pokemon teambuilding on a Fire Emblem / Final Fantasy Tactics style-map. Players will be able to mod in their own monsters and battle online!
Twitch ► https://www.twitch.tv/nedmakesgames
Twitter ► https://twitter.com/nedmakesgames
Blog ► https://nedmakesgames.tumblr.com
Discord ► https://discordapp.com/invite/ubxSVBK Loading Audio Mixers and Sources! Tactical Lizard Tamer, Unity Game Dev Log [Part 115]](https://i.ytimg.com/vi/dh8YtcmepIU/mqdefault.jpg)
![Easier Pathfinding! Tactical Lizard Tamer, Unity Game Dev Log [Part 156A]
Im making a game in Unity! It will be a mixture of Pokemon teambuilding on a Fire Emblem / Final Fantasy Tactics style-map. Players will be able to mod in their own monsters and battle online!
Twitch ► https://www.twitch.tv/nedmakesgames
Twitter ► https://twitter.com/nedmakesgames
Blog ► https://nedmakesgames.tumblr.com
Discord ► https://discordapp.com/invite/ubxSVBK Easier Pathfinding! Tactical Lizard Tamer, Unity Game Dev Log [Part 156A]](https://i.ytimg.com/vi/emwaYmel64E/mqdefault.jpg)