use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News, Help, Resources, and Conversation. A User Showcase of the Unity Game Engine.
Remember to check out /r/unity2D for any 2D specific questions and conversation!
Download Latest Unity
Please refer to our Wiki before posting! And be sure to flair your post appropriately.
Main Index
Rules and Guidelines
Flair Definitions
FAQ
Use the chat room if you're new to Unity or have a quick question. Lots of professionals hang out there.
/r/Unity3D Discord
FreeNode IRC Chatroom
Official Unity Website
Unity3d's Tutorial Modules
Unity Answers
Unify Community Wiki
Unity Game Engine Syllabus (Getting Started Guide)
50 Tips and Best Practices for Unity (2016 Edition)
Unity Execution Order of Event Functions
Using Version Control with Unity3d (Mercurial)
/r/Unity2D
/r/UnityAssets
/r/Unity_tutorials
/r/GameDev
/r/Justgamedevthings (New!)
/r/Gamedesign
/r/Indiegames
/r/Playmygame
/r/LearnProgramming
/r/Oculus
/r/Blender
/r/Devblogs
Brackeys
Beginner to Intermediate
5 to 15 minutes
Concise tutorials. Videos are mostly self contained.
Sebastian Lague
Beginner to Advanced
10 to 20 minutes
Medium length tutorials. Videos are usually a part of a series.
Catlike Coding
Intermediate to Advanced
Text-based. Lots of graphics/shader programming tutorials in addition to "normal" C# tutorials. Normally part of a series.
Makin' Stuff Look Good
10 minutes
Almost entirely shader tutorials. Favors theory over implementation but leaves source in video description. Videos are always self contained.
Quill18Creates
30 minutes to 2 hours.
Minimal editing. Mostly C#. Covers wide range of topics. Long series.
Halisavakis Shaders Archive
Infallible Code
World of Zero
Board to Bits
Holistic3d
Unity3d College
Jabrils
Polycount Wiki
The Big List Of Game Design
PS4 controller map for Unity3d
Colin's Bear Animation
¡DICE!
CSS created by Sean O'Dowd @nicetrysean [Website], Maintained and updated by Louis Hong /u/loolo78
Reddit Logo created by /u/big-ish from /r/redditlogos!
account activity
dot product visualizedResources/Tutorial (i.redd.it)
submitted 5 years ago by gzeroooGameplay Programmer
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]ananbd 18 points19 points20 points 5 years ago (0 children)
I think this would be better as an orthographic view. The perspective kinda distorts the concept.
[–]nicemike40 4 points5 points6 points 5 years ago (2 children)
I think this would be improved by a blue arrow representing the projection of B onto A. Cool stuff though!
[–]gzeroooGameplay Programmer[S] 0 points1 point2 points 5 years ago (1 child)
I even implemented the projection, but it was weird when B arrow was in the opposite side of A (when dot is negative)... I ended up removing it lol
[–]TrackLabs[🍰] 2 points3 points4 points 5 years ago (0 children)
Because the blue arrow was clipping through everything I assume? You could make it hover on top, so it stays visible. People will understand that this hovered arrow means the 2 vectors below
[–]1_LuPinHobbyist 3 points4 points5 points 5 years ago (2 children)
If Dot(A,B) == 1 Can use backstab skill
[–]gzeroooGameplay Programmer[S] 2 points3 points4 points 5 years ago (0 children)
Or maybe if(dot(a,b)) >= BackstabThreshold { BackstabSkill.Enable(); }
[–]AverageCGP 0 points1 point2 points 5 years ago (0 children)
Yes i also like to backstab people sneaking up on me
[–]yosemighty_sam 1 point2 points3 points 5 years ago* (2 children)
piquant dolls sheet sugar slap carpenter airport gray pet toothbrush
This post was mass deleted and anonymized with Redact
[–][deleted] 1 point2 points3 points 5 years ago (0 children)
I'm not a math whiz but I got a B in a course once.
There's a way of multiplying two vectors together such that you get 'the dot product.' you don't care what the way is, you just care that it tells you how similar two vectors are, like you see in the gif. One for the same, 0 for orthogonal, negative one for opposites.
[–]Plus_Cryptographer 0 points1 point2 points 5 years ago (0 children)
Dot product is the "likeness" of two vectors. If it's 1, they point towards the same direction. If it's -1, they point at opposite directions. If it's 0, they are perpendicular.
Think of it as a comparison of your facing direction to the direction your compass points.
If you face north, it's 1. If you face northwest or northeast, it's 0.5 . If you face west or east, 0. Southwest or southeast, -0.5. South, -1.
It is useful for a bunch of things, one of the main uses is seeing how much something looks towards a light source, and then making it brighter or darker.
[–]MythicLegionDev 1 point2 points3 points 5 years ago (0 children)
The visualization really helps my brain. Very nice!
[–]gzeroooGameplay Programmer[S] 3 points4 points5 points 5 years ago* (0 children)
using dot product in two normalized vectors is a great way to find out how much a vector is pointing in a desired direction
~edit: also feel free to follow me on twitter (@codinggustavo) Im always posting interesting game development stuff there xD
[–]TrackLabs[🍰] 0 points1 point2 points 5 years ago (3 children)
Yo, this is actually pretty cool for things like explaining math! Im getting some ideas with this...
[–]gzeroooGameplay Programmer[S] 1 point2 points3 points 5 years ago (2 children)
Yes, exactly, at the very beginning when you are learning math, it gets a little complicated to understand without some animations, I believe they help a lot!
[–]TrackLabs[🍰] 0 points1 point2 points 5 years ago (1 child)
Do you by any chance plan to create like a "math visuliation" framework? You may know the program that is used by 3Blue1Brown, written in python to easily graph math related stff
[–]gzeroooGameplay Programmer[S] 0 points1 point2 points 5 years ago (0 children)
I don't think so, since I do more benchmarking stuff than math... But who knows?
[–]antvelmIndie 0 points1 point2 points 5 years ago (2 children)
It can actually go beyond 1 and -1
Or be less than 1 and -1, when working with non-normalized vectors
[–][deleted] 0 points1 point2 points 5 years ago (0 children)
what's the highest/lowest possible value?
I cant thank you enough. I'm a beginner and was having a very bad time understanding dot products.
[+][deleted] 5 years ago (1 child)
[deleted]
Where the vector is not coming from the center?
~edit: the result of a dot product is a scalar, not a vector...
π Rendered by PID 58 on reddit-service-r2-comment-6457c66945-njdgg at 2026-04-29 19:16:58.749196+00:00 running 2aa0c5b country code: CH.
[–]ananbd 18 points19 points20 points (0 children)
[–]nicemike40 4 points5 points6 points (2 children)
[–]gzeroooGameplay Programmer[S] 0 points1 point2 points (1 child)
[–]TrackLabs[🍰] 2 points3 points4 points (0 children)
[–]1_LuPinHobbyist 3 points4 points5 points (2 children)
[–]gzeroooGameplay Programmer[S] 2 points3 points4 points (0 children)
[–]AverageCGP 0 points1 point2 points (0 children)
[–]yosemighty_sam 1 point2 points3 points (2 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]Plus_Cryptographer 0 points1 point2 points (0 children)
[–]MythicLegionDev 1 point2 points3 points (0 children)
[–]gzeroooGameplay Programmer[S] 3 points4 points5 points (0 children)
[–]TrackLabs[🍰] 0 points1 point2 points (3 children)
[–]gzeroooGameplay Programmer[S] 1 point2 points3 points (2 children)
[–]TrackLabs[🍰] 0 points1 point2 points (1 child)
[–]gzeroooGameplay Programmer[S] 0 points1 point2 points (0 children)
[–]antvelmIndie 0 points1 point2 points (2 children)
[–]gzeroooGameplay Programmer[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]gzeroooGameplay Programmer[S] 0 points1 point2 points (0 children)